aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1995-05-12 06:52:50 +0000
committerKarl Heuer1995-05-12 06:52:50 +0000
commitcc6e72699cc2b727a4891ca3b06fbdf22afa46d2 (patch)
tree4ede0f82847c9f26dbdabff181d474737e8d097f /src
parent043620f45e50b82189c9263239810e5805eb8d51 (diff)
downloademacs-cc6e72699cc2b727a4891ca3b06fbdf22afa46d2.tar.gz
emacs-cc6e72699cc2b727a4891ca3b06fbdf22afa46d2.zip
(init_system_name): Clean up signedness mismatch.
Diffstat (limited to 'src')
-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 ()
2117 uname (&uts); 2117 uname (&uts);
2118 Vsystem_name = build_string (uts.nodename); 2118 Vsystem_name = build_string (uts.nodename);
2119#else /* HAVE_GETHOSTNAME */ 2119#else /* HAVE_GETHOSTNAME */
2120 int hostname_size = 256; 2120 unsigned int hostname_size = 256;
2121 char *hostname = (char *) alloca (hostname_size); 2121 char *hostname = (char *) alloca (hostname_size);
2122 2122
2123 /* Try to get the host name; if the buffer is too short, try 2123 /* Try to get the host name; if the buffer is too short, try