aboutsummaryrefslogtreecommitdiffstats
path: root/lss16toppm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lss16toppm.c')
-rw-r--r--lss16toppm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lss16toppm.c b/lss16toppm.c
index 48c9b93..e44860c 100644
--- a/lss16toppm.c
+++ b/lss16toppm.c
@@ -82,7 +82,7 @@ main(int argc, char *argv[])
for (off = 0; off < n;) {
state = liblss16_decode_to_colour_index(&decoder, &buf[off], n - off, &consumed,
- pixels, sizeof(pixels) / sizeof(*pixels), &npixels, &error);
+ pixels, sizeof(pixels) / sizeof(*pixels), &npixels, &error);
off += consumed;
if (state == LIBLSS16_DECODE_ERROR) {
goto error;
@@ -123,7 +123,7 @@ main(int argc, char *argv[])
writeall(wbuf, pending);
state = liblss16_decode_to_colour_index(&decoder, NULL, 0, &consumed, pixels,
- sizeof(pixels) / sizeof(*pixels), &npixels, &error);
+ sizeof(pixels) / sizeof(*pixels), &npixels, &error);
if (state == LIBLSS16_DECODE_ERROR) {
error:
fprintf(stderr, "%s: %s\n", argv0, liblss16_decode_strerror(error));