Commit 306d7b8f authored by npzacs's avatar npzacs
Browse files

Avoid %zd in format strings

parent b9a30904
......@@ -1018,7 +1018,7 @@ AACS *aacs_open(const char *path, const char *configfile_path)
AACS *aacs_open2(const char *path, const char *configfile_path, int *error_code)
{
DEBUG(DBG_AACS, "libaacs "AACS_VERSION_STRING" [%zd]\n", sizeof(AACS));
DEBUG(DBG_AACS, "libaacs "AACS_VERSION_STRING" [%u]\n", (unsigned)sizeof(AACS));
DEBUG(DBG_AACS, "Initializing libgcrypt...\n");
if (!crypto_init()) {
......
......@@ -76,7 +76,7 @@ MKB *mkb_open(const char *path)
file_read(fp, mkb->buf, mkb->size);
DEBUG(DBG_MKB, "MKB size: %zd\n", mkb->size);
DEBUG(DBG_MKB, "MKB size: %u\n", (unsigned)mkb->size);
DEBUG(DBG_MKB, "MKB version: %d\n", mkb_version(mkb));
file_close(fp);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment