Jelajahi Sumber

* Fix a compile warning about time_t

Bryan Drewery 17 tahun lalu
induk
melakukan
919bd240b3
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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);
   }
 }