about summary refs log tree commit diff
path: root/lib/libpamn.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpamn.c')
-rw-r--r--lib/libpamn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpamn.c b/lib/libpamn.c
index fe004e91..76a8bb6d 100644
--- a/lib/libpamn.c
+++ b/lib/libpamn.c
@@ -42,7 +42,7 @@ allocpamrown(const struct pam * const pamP,
     if (tuplerown == NULL)
         asprintfN(&error, "Out of memory allocating space for a tuple row of"
                   "%u tuples by %u samples per tuple by %u bytes per sample.",
-                  pamP->width, pamP->depth, sizeof(samplen));
+                  pamP->width, pamP->depth, (unsigned)sizeof(samplen));
     else {
         /* Now we initialize the pointers to the individual tuples to make this
            a regulation C two dimensional array.