Преглед изворни кода

* Fix a compile warning about time_t

Bryan Drewery пре 17 година
родитељ
комит
919bd240b3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/mod/update.mod/update.c

+ 1 - 1
src/mod/update.mod/update.c

@@ -382,7 +382,7 @@ static void check_updates()
     }
     /* send out notice to update remote bots ... */
     /* 9999 is a hack to force all bots from old svn-revisions to upgrade to new git style */
-    simple_snprintf(buf, sizeof buf, "nu? %li 9999 %s", buildts, commit);
+    simple_snprintf(buf, sizeof buf, "nu? %li 9999 %s", (long) buildts, commit);
     putallbots(buf);
   }
 }