pid_t pid = child_wait_status->pid;
if (request == NULL) {
- i_error("checkpassword: sighandler called for unknown child %d", pid);
+ i_error("checkpassword: sighandler called for unknown child %s",
+ dec2str(pid));
return SIGCHLD_RESULT_UNKNOWN_CHILD;
}
continue;
if ((ctx->flags & DICT_ITERATE_FLAG_RECURSE) == 0 &&
- strchr(key + ctx->path_len, '/') != NULL)
+ strchr((char *)key + ctx->path_len, '/') != NULL)
continue;
*key_r = key;
/* we failed to use the uidvalidity file. don't fail the mailbox
creation because of it though, most of the time it's safe enough
to use the current time as the uidvalidity value. */
- if (uid_validity < ioloop_time)
- uid_validity = ioloop_time;
+ if (uid_validity < (uint32_t)ioloop_time)
+ uid_validity = (uint32_t)ioloop_time;
else
uid_validity++;
return uid_validity;