]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_linux.c
Just assume GL_ARB_texture_non_power_of_two and a number of other extensions are...
[xonotic/darkplaces.git] / sys_linux.c
index 0b954301e6c0d92927cfcecad7a17cac0df4f86d..ac2ea61636c7087eb6d6c59be09c039bc9eeebba 100644 (file)
@@ -62,7 +62,7 @@ void Sys_PrintToTerminal(const char *text)
 #endif
                while(*text)
                {
-                       fs_offset_t written = (fs_offset_t)write(outfd, text, strlen(text));
+                       fs_offset_t written = (fs_offset_t)write(outfd, text, (int)strlen(text));
                        if(written <= 0)
                                break; // sorry, I cannot do anything about this error - without an output
                        text += written;