Procházet zdrojové kódy

* Fix a compile warning about time_t

Bryan Drewery před 17 roky
rodič
revize
919bd240b3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);
   }
 }