summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2016-01-22 19:47:42 -0500
committerSolomon Peachy <pizza@shaftnet.org>2016-01-22 19:47:42 -0500
commita07ecda39efa0a507b7cdec795829d6b9487020b (patch)
treef0333fdce834e10168eee9739752a5312d10bc00
parente63bf37e60803fc12e5cec09c6192c658b2052f4 (diff)
downloadselphy_print-a07ecda39efa0a507b7cdec795829d6b9487020b.tar.gz
selphy_print-a07ecda39efa0a507b7cdec795829d6b9487020b.tar.bz2
selphy_print-a07ecda39efa0a507b7cdec795829d6b9487020b.zip
s6145: Fix some compile warnings on 32-bit platforms.
-rw-r--r--backend_shinkos6145.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend_shinkos6145.c b/backend_shinkos6145.c
index 425100d..b949da4 100644
--- a/backend_shinkos6145.c
+++ b/backend_shinkos6145.c
@@ -1657,7 +1657,7 @@ static int shinkos6145_get_imagecorr(struct shinkos6145_ctx *ctx)
}
ctx->corrdatalen = le16_to_cpu(resp->total_size);
- INFO("Fetching %lu bytes of image correction data\n", ctx->corrdatalen);
+ INFO("Fetching %zu bytes of image correction data\n", ctx->corrdatalen);
ctx->corrdata = malloc(sizeof(struct shinkos6145_correctionparam));
if (!ctx->corrdata) {
@@ -1681,7 +1681,7 @@ static int shinkos6145_get_imagecorr(struct shinkos6145_ctx *ctx)
total += sizeof(data.data);
if (data.remain_pkt == 0)
- DEBUG("correction block transferred (%lu/%lu total)\n", total, ctx->corrdatalen);
+ DEBUG("correction block transferred (%zu/%zu total)\n", total, ctx->corrdatalen);
}