Minor type cast -- compiler warning on 64bit machines
This commit is contained in:
parent
aa1708af9a
commit
e92035851f
|
@ -654,8 +654,8 @@ List *mms_mmbox_search(char *mmbox_root, char *user,
|
|||
if ((tmpfd = dup(ifd)) < 0 ||
|
||||
(fp = fdopen(tmpfd, "r")) == NULL) {
|
||||
error(0, "mmbox.search_index: %s Failed to dup descriptor for index "
|
||||
"file, fp = %d: error = %s\n", octstr_get_cstr(home),
|
||||
(int)fp, strerror(errno));
|
||||
"file, fp = %p: error = %s\n", octstr_get_cstr(home),
|
||||
fp, strerror(errno));
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
@ -780,8 +780,8 @@ int mms_mmbox_count(char *mmbox_root, char *user, unsigned long *msgcount, unsi
|
|||
if ((tmpfd = dup(ifd)) < 0 ||
|
||||
(fp = fdopen(tmpfd, "r")) == NULL) {
|
||||
error(0, "mmbox.count: %s Failed to dup descriptor for index "
|
||||
"file, fp = %d: error = %s\n", octstr_get_cstr(home),
|
||||
(int)fp, strerror(errno));
|
||||
"file, fp = %p: error = %s\n", octstr_get_cstr(home),
|
||||
fp, strerror(errno));
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue