mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-14 09:39:42 +00:00
(init_system_name): Clean up signedness mismatch.
This commit is contained in:
parent
043620f45e
commit
cc6e72699c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user