summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-05-12 06:52:50 +0000
committerKarl Heuer <kwzh@gnu.org>1995-05-12 06:52:50 +0000
commita00f352e66e3276abeec0a9f56cd1d8eb929d94b (patch)
treea11879766701b92a44a51c59bb5230850dcd5347 /src/sysdep.c
parent67afe191b52543b3354157cb0a460c3f28e371c8 (diff)
downloademacs-a00f352e66e3276abeec0a9f56cd1d8eb929d94b.tar.gz
(init_system_name): Clean up signedness mismatch.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index c971cb32242..742582d5382 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -2117,7 +2117,7 @@ init_system_name ()
uname (&uts);
Vsystem_name = build_string (uts.nodename);
#else /* HAVE_GETHOSTNAME */
- int hostname_size = 256;
+ unsigned int hostname_size = 256;
char *hostname = (char *) alloca (hostname_size);
/* Try to get the host name; if the buffer is too short, try