removed a number of stupid compilation warnings on Linux

This commit is contained in:
antirez
2010-11-02 11:15:09 +01:00
parent 92e282288f
commit 10c12171cc
4 changed files with 21 additions and 18 deletions

View File

@ -538,7 +538,8 @@ void printErrorStack(entry *e) {
/* display error stack */
for (i = 0; i < errors.level; i++) {
printf("0x%08lx - %s\n", errors.offset[i], errors.error[i]);
printf("0x%08lx - %s\n",
(unsigned long) errors.offset[i], errors.error[i]);
}
}