diff options
author | Michael Gran <spk121@yahoo.com> | 2009-08-28 21:19:05 -0700 |
---|---|---|
committer | Michael Gran <spk121@yahoo.com> | 2009-08-28 21:19:05 -0700 |
commit | 6d736fdba2135de42e742924eac32e1c6bd9b79a (patch) | |
tree | 104b22398b200f71a729a325c7e1e11aee50096e /libguile/win32-socket.c | |
parent | 5950cc3fcc7fb0d13be23fcccb8916fd8c2da4e2 (diff) | |
download | guile-6d736fdba2135de42e742924eac32e1c6bd9b79a.tar.gz |
Cast the input to isalpha et al to integer
* libguile/gc_os_dep.c (GC_linux_stack_base) [LINUX_STACKBOTTOM]: cast
input of ctype functions to int
* libguile/inet_aton.c (inet_aton): cast input of ctype functions to int
* libguile/read.c (scm_scan_for_encoding): cast input of isalnum to int
* libguile/win32-socket.c (scm_i_socket_uncomment): cast input of isspace
to int
Diffstat (limited to 'libguile/win32-socket.c')
-rw-r--r-- | libguile/win32-socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/win32-socket.c b/libguile/win32-socket.c index e845d886a..825b4c499 100644 --- a/libguile/win32-socket.c +++ b/libguile/win32-socket.c @@ -435,7 +435,7 @@ scm_i_socket_uncomment (char *line) while (end > line && (*end == '\r' || *end == '\n')) *end-- = '\0'; } - while (end > line && isspace (*end)) + while (end > line && isspace ((int) (*end))) *end-- = '\0'; return end; |