summaryrefslogtreecommitdiff
path: root/apps/plugins/snake2.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/snake2.c')
-rw-r--r--apps/plugins/snake2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/snake2.c b/apps/plugins/snake2.c
index 54a88b4..786f54d 100644
--- a/apps/plugins/snake2.c
+++ b/apps/plugins/snake2.c
@@ -333,7 +333,7 @@ int load_all_levels(void)
/* Init the level_cache pointer and
calculate how many levels that will fit */
- level_cache = rb->plugin_get_buffer(&size);
+ level_cache = rb->plugin_get_buffer((size_t *)&size);
max_levels = size / (HEIGHT*WIDTH);
num_levels = 0;