From: havoc Date: Thu, 23 Feb 2006 05:47:53 +0000 (+0000) Subject: another int cast for that patch X-Git-Tag: xonotic-v0.1.0preview~4301 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3fdb796b193f8545d3653aeff6faf7ec46343096;p=xonotic%2Fdarkplaces.git another int cast for that patch git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6012 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sys_linux.c b/sys_linux.c index d0120432..1edb74dd 100644 --- a/sys_linux.c +++ b/sys_linux.c @@ -59,7 +59,7 @@ void Sys_PrintToTerminal(const char *text) #endif while(*text) { - int written = (int)write(1, text, strlen(text)); + int written = (int)write(1, text, (int)strlen(text)); if(written <= 0) break; // sorry, I cannot do anything about this error - without an output text += written; diff --git a/sys_sdl.c b/sys_sdl.c index d18b4b6e..be0f67df 100644 --- a/sys_sdl.c +++ b/sys_sdl.c @@ -57,7 +57,7 @@ void Sys_PrintToTerminal(const char *text) #endif while(*text) { - int written = (int)write(1, text, strlen(text)); + int written = (int)write(1, text, (int)strlen(text)); if(written <= 0) break; // sorry, I cannot do anything about this error - without an output text += written;