From 7b0d48313d8c7ea75c7f2e05a9fbaf8a046879d6 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 26 Apr 2012 07:28:22 +0900 Subject: [PATCH] Fix a signed type mixup. I mis-applied calim's patch, and gcc failed to tell me :( --- libs/util/sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/util/sys.c b/libs/util/sys.c index 6c9668887..961f7b4c3 100644 --- a/libs/util/sys.c +++ b/libs/util/sys.c @@ -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)