summaryrefslogtreecommitdiff
path: root/apps/plugins/zxbox/snapshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/zxbox/snapshot.c')
-rw-r--r--apps/plugins/zxbox/snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/zxbox/snapshot.c b/apps/plugins/zxbox/snapshot.c
index 468f46667e..74845bac8e 100644
--- a/apps/plugins/zxbox/snapshot.c
+++ b/apps/plugins/zxbox/snapshot.c
@@ -362,7 +362,7 @@ static void read_compressed_data(SNFILE *fp, byte *start, unsigned size,
362 GET_DATA(ch); 362 GET_DATA(ch);
363 if(p + times > end) { 363 if(p + times > end) {
364 put_msg("Warning: Repeat parameter too large in snapshot"); 364 put_msg("Warning: Repeat parameter too large in snapshot");
365 times = (int) ((long) end - (long) p); 365 times = (int) ((intptr_t) end - (intptr_t) p);
366 } 366 }
367 for(j = 0; j < times; j++) *p++ = ch; 367 for(j = 0; j < times; j++) *p++ = ch;
368 } 368 }