diff options
author | Paul Smith <psmith@gnu.org> | 2010-07-05 18:32:03 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2010-07-05 18:32:03 +0000 |
commit | c78b7265bd1ee374a5e515d79448d0e3452b5ede (patch) | |
tree | 7b46185bfca8c3d2ac28780e359c15c648655bce /signame.c | |
parent | fc644b4c450fee27683cfb73e85488a643de6fa7 (diff) | |
download | gunmake-c78b7265bd1ee374a5e515d79448d0e3452b5ede.tar.gz |
Fixups for warnings on Windows (esp 64bit).
Diffstat (limited to 'signame.c')
-rw-r--r-- | signame.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -229,7 +229,7 @@ signame_init (void) char * -strsignal (int signal) +strsignal (int sig) { static char buf[] = "Signal 12345678901234567890"; @@ -246,10 +246,10 @@ strsignal (int signal) # endif #endif - if (signal > 0 || signal < NSIG) - return (char *) sys_siglist[signal]; + if (sig > 0 || sig < NSIG) + return (char *) sys_siglist[sig]; - sprintf (buf, "Signal %d", signal); + sprintf (buf, "Signal %d", sig); return buf; } |