summaryrefslogtreecommitdiff
path: root/apps/plugins/zxbox
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/zxbox')
-rw-r--r--apps/plugins/zxbox/helpers.c2
-rw-r--r--apps/plugins/zxbox/zxbox.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/zxbox/helpers.c b/apps/plugins/zxbox/helpers.c
index c176c007a4..d6b25a2452 100644
--- a/apps/plugins/zxbox/helpers.c
+++ b/apps/plugins/zxbox/helpers.c
@@ -19,7 +19,7 @@ int my_putc(char c , int fd){
void *my_malloc(size_t size)
{
static char *offset = NULL;
- static int totalSize = 0;
+ static ssize_t totalSize = 0;
char *ret;
int remainder = size % 4;
diff --git a/apps/plugins/zxbox/zxbox.c b/apps/plugins/zxbox/zxbox.c
index b85dc01991..1faec08e69 100644
--- a/apps/plugins/zxbox/zxbox.c
+++ b/apps/plugins/zxbox/zxbox.c
@@ -52,7 +52,7 @@ static int previous_state;
#ifdef USE_GRAY
static unsigned char *gbuf;
-static unsigned int gbuf_size = 0;
+static size_t gbuf_size = 0;
#endif
long video_frames IBSS_ATTR = 0 ;