+2001-07-05 Ezra Peisach <epeisach@mit.edu>
+
+ * encrypt.c (encrypt_reply): Cast arguments to printf to match
+ format in debugging statments.
+
2001-07-02 Ezra Peisach <epeisach@mit.edu>
* krb5forw.h: File with prototype for rd_and_store_for_creds().
} else {
ret = (*ep->is)(data, cnt);
if (encrypt_debug_mode)
- printf("(*ep->is)(%x, %d) returned %s(%d)\n",
- (unsigned int) data, cnt,
+ printf("(*ep->is)(%lx, %d) returned %s(%d)\n",
+ (unsigned long) data, cnt,
(ret < 0) ? "FAIL " :
(ret == 0) ? "SUCCESS " : "MORE_TO_DO ", ret);
}
} else {
ret = (*ep->reply)(data, cnt);
if (encrypt_debug_mode)
- printf("(*ep->reply)(%x, %d) returned %s(%d)\n",
- (unsigned int) data, cnt,
+ printf("(*ep->reply)(%lx, %d) returned %s(%d)\n",
+ (unsigned long) data, cnt,
(ret < 0) ? "FAIL " :
(ret == 0) ? "SUCCESS " : "MORE_TO_DO ", ret);
}