]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_linux.c
added r_glsl_restart command, and modified shaderstring loading back to the old way...
[xonotic/darkplaces.git] / sys_linux.c
index d0120432b6f745981916d8416bb817dd8e4ff829..1edb74ddcf42ed8421f6eb18dfda882372626fab 100644 (file)
@@ -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;