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
commitcc6e72699cc2b727a4891ca3b06fbdf22afa46d2 (patch)
tree4ede0f82847c9f26dbdabff181d474737e8d097f /src/sysdep.c
parent043620f45e50b82189c9263239810e5805eb8d51 (diff)
downloademacs-cc6e72699cc2b727a4891ca3b06fbdf22afa46d2.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