long unsigned int...
This commit is contained in:
parent
9d612f9726
commit
85cfb1dec8
@ -93,7 +93,7 @@ unsigned long generate_msgid() {
|
|||||||
dolog("Unable to open message id log");
|
dolog("Unable to open message id log");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sprintf(buffer, "%X", lastid);
|
sprintf(buffer, "%lX", lastid);
|
||||||
return strtoul(&buffer[strlen(buffer) - 8], NULL, 16);
|
return strtoul(&buffer[strlen(buffer) - 8], NULL, 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user