]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_sdl.c
beginnings of qw protocol support
[xonotic/darkplaces.git] / sys_sdl.c
index d18b4b6e18d24dafe8226647e967827d19a2e559..be0f67df3a1f7f2d3f8000afa03cd8a16ec97589 100644 (file)
--- 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;