]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - fs.c
patch from div0 that enables printf format warnings in gcc
[xonotic/darkplaces.git] / fs.c
diff --git a/fs.c b/fs.c
index 89f0086c55c61fd4bd016417dd2be874b15acabc..8bf3d1c56d905387eaebd12d69ef14752a90cde5 100644 (file)
--- a/fs.c
+++ b/fs.c
@@ -1434,7 +1434,7 @@ qfile_t *FS_OpenPackedFile (pack_t* pack, int pack_ind)
        if (lseek (pack->handle, pfile->offset, SEEK_SET) == -1)
        {
                Con_Printf ("FS_OpenPackedFile: can't lseek to %s in %s (offset: %d)\n",
-                                       pfile->name, pack->filename, pfile->offset);
+                                       pfile->name, pack->filename, (int) pfile->offset);
                return NULL;
        }