Sfoglia il codice sorgente

* Fix compiler warning

Phillip Parin 16 anni fa
parent
commit
6bc2ac6814
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/mod/irc.mod/cmdsirc.c

+ 1 - 1
src/mod/irc.mod/cmdsirc.c

@@ -1977,7 +1977,7 @@ static void cmd_play(int idx, char *par)
       ++lines;
     }
   }
-  dprintf(idx, "Playing %d lines from %s to %s\n", lines, par, chan->dname);
+  dprintf(idx, "Playing %zu lines from %s to %s\n", lines, par, chan->dname);
   long time_to_play = 0;
   if (lines < 10)
     time_to_play = 3;