]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_sdl.c
Fixed a large number of WIN64 type conversion warnings.
[xonotic/darkplaces.git] / sys_sdl.c
index cd769979c2753535a32c4b68d79707a25b5a9f4a..228c0a49f627449efa432e3567cb996d9cfbb48a 100644 (file)
--- a/sys_sdl.c
+++ b/sys_sdl.c
@@ -86,7 +86,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;