]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Fixing a warning
authorWolfgang Bumiller <wolfgang.linux@bumiller.com>
Sat, 28 Jul 2012 11:50:12 +0000 (13:50 +0200)
committerWolfgang Bumiller <wolfgang.linux@bumiller.com>
Sat, 28 Jul 2012 11:50:12 +0000 (13:50 +0200)
main.c

diff --git a/main.c b/main.c
index b9a23dfc5d755e3f117804c9dd8b2f6e136ae7f0..8b30cfef6b1fd2d7bb3cfbe49d56b16d8c81a23b 100644 (file)
--- a/main.c
+++ b/main.c
@@ -264,7 +264,7 @@ int main(int argc, char **argv) {
 
     if (items_elements) {
         printf("Mode: manual\n");
 
     if (items_elements) {
         printf("Mode: manual\n");
-        printf("There are %i items to compile:\n", items_elements);
+        printf("There are %lu items to compile:\n", (unsigned long)items_elements);
         for (itr = 0; itr < items_elements; ++itr) {
             printf("  item: %s (%s)\n",
                    items_data[itr].filename,
         for (itr = 0; itr < items_elements; ++itr) {
             printf("  item: %s (%s)\n",
                    items_data[itr].filename,