summaryrefslogtreecommitdiff
path: root/chat/eggdrop/patches/patch-ad
blob: 01dfdbce13ca818cedf2688cf18929309668a692 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.4 2012/03/31 21:52:57 shattered Exp $

--- src/mod/filesys.mod/filesys.c.orig	2011-02-13 14:19:33.000000000 +0000
+++ src/mod/filesys.mod/filesys.c
@@ -464,7 +464,7 @@ static int do_dcc_send(int idx, char *di
   if (at_limit(nick)) {
     char xxx[1024];
 
-    sprintf(xxx, "%d*%s%s", (int) 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);