From 3fdb796b193f8545d3653aeff6faf7ec46343096 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 23 Feb 2006 05:47:53 +0000 Subject: [PATCH] another int cast for that patch git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6012 d7cf8633-e32d-0410-b094-e92efae38249 --- sys_linux.c | 2 +- sys_sdl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2