mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-30 08:00:51 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue