if (msglen < sizeof(struct ctdb_req_header)) {
DEBUG(0, ("Got invalid msglen: %d, expected at least %d for "
- "the req_header\n", msglen,
- sizeof(struct ctdb_req_header)));
+ "the req_header\n", (int)msglen,
+ (int)sizeof(struct ctdb_req_header)));
cluster_fatal("ctdbd protocol error\n");
}
if (conn->msg_ctx == NULL) {
DEBUG(1, ("Got a message without having a msg ctx, "
- "dropping msg %llu\n", msg->srvid));
+ "dropping msg %llu\n",
+ (long long unsigned)msg->srvid));
goto again;
}