1
0
Fork 0

Minor type cast -- compiler warning on 64bit machines

This commit is contained in:
bagyenda 2006-04-19 14:48:43 +00:00
parent aa1708af9a
commit e92035851f
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}