mirror of https://github.com/nealey/irc-bot
Fix for 64bit
This commit is contained in:
parent
6cd618c849
commit
98aced9bbc
|
@ -213,7 +213,7 @@ del(char *filename, char *key, char *glob)
|
||||||
(0 == memcmp(k, key, klen)) &&
|
(0 == memcmp(k, key, klen)) &&
|
||||||
(0 == fnmatch(glob, v, 0))) {
|
(0 == fnmatch(glob, v, 0))) {
|
||||||
// Skip if it matches
|
// Skip if it matches
|
||||||
printf("-%.*s\n", vlen, v);
|
printf("-%.*s\n", (int)vlen, v);
|
||||||
} else {
|
} else {
|
||||||
cdbmake_add(&outc, k, klen, v, vlen);
|
cdbmake_add(&outc, k, klen, v, vlen);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue