Fix a signed type mixup.

I mis-applied calim's patch, and gcc failed to tell me :(
This commit is contained in:
Bill Currie 2012-04-26 07:28:22 +09:00
parent 20b7a46100
commit 7b0d48313d

View file

@ -432,7 +432,7 @@ Sys_Error (const char *error, ...)
static int in_sys_error = 0;
if (in_sys_error) {
size_t cnt;
ssize_t cnt;
const char *msg = "\nSys_Error: recursive error condition\n";
cnt = write (2, msg, strlen (msg));
if (cnt < 0)