summaryrefslogtreecommitdiff
path: root/irc/eggdrop/files/patch-ad
blob: cb0871338d4d4eeec3dac04864be2905b7994157 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- eggdrop1.6.17/src/mod/filesys.mod/filesys.c.orig	Mon Jun  2 11:25:01 2003
+++ eggdrop1.6.17/src/mod/filesys.mod/filesys.c	Mon Jun  2 11:25:46 2003
@@ -461,7 +461,7 @@
   if (at_limit(nick)) {
     char xxx[1024];
 
-    sprintf(xxx, "%d*%s%s", strlen(dccdir), dccdir, dir);
+    sprintf(xxx, "%lu*%s%s", strlen(dccdir), dccdir, dir);
     queue_file(xxx, fn, dcc[idx].nick, nick);
     dprintf(idx, "Queued: %s to %s\n", fn, nick);
     my_free(s);