Fix a signed type mixup.
I mis-applied calim's patch, and gcc failed to tell me :(
This commit is contained in:
parent
20b7a46100
commit
7b0d48313d
|
@ -432,7 +432,7 @@ Sys_Error (const char *error, ...)
|
||||||
static int in_sys_error = 0;
|
static int in_sys_error = 0;
|
||||||
|
|
||||||
if (in_sys_error) {
|
if (in_sys_error) {
|
||||||
size_t cnt;
|
ssize_t cnt;
|
||||||
const char *msg = "\nSys_Error: recursive error condition\n";
|
const char *msg = "\nSys_Error: recursive error condition\n";
|
||||||
cnt = write (2, msg, strlen (msg));
|
cnt = write (2, msg, strlen (msg));
|
||||||
if (cnt < 0)
|
if (cnt < 0)
|
||||||
|
|
Loading…
Reference in New Issue