]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.c
casts to fix warnings in MSVC x64, thanks Willis
[xonotic/darkplaces.git] / cl_screen.c
index 5b5c622af97bcf9ad283706d9b5fc907e11ba9d9..bb4ddfd0795c8c312355c5cbfd23776ebbdeca47 100644 (file)
@@ -405,7 +405,7 @@ static void SCR_DrawDownload(void)
        if (!cls.qw_downloadname[0])
                return;
        dpsnprintf(temp, sizeof(temp), "Downloading %s ...  %3i%%\n", cls.qw_downloadname, cls.qw_downloadpercent);
-       len = strlen(temp);
+       len = (int)strlen(temp);
        x = (vid_conwidth.integer - len*size) / 2;
        y = vid_conheight.integer - size;
        DrawQ_Fill(0, y, vid_conwidth.integer, size, 0, 0, 0, 0.5, 0);