diff options
Diffstat (limited to 'apps/plugins/dict.c')
-rw-r--r-- | apps/plugins/dict.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/dict.c b/apps/plugins/dict.c index cdd4c651de..8c262923b7 100644 --- a/apps/plugins/dict.c +++ b/apps/plugins/dict.c | |||
@@ -62,10 +62,10 @@ void init_screen(void) | |||
62 | 62 | ||
63 | /* global vars for pl_malloc() */ | 63 | /* global vars for pl_malloc() */ |
64 | void *bufptr; | 64 | void *bufptr; |
65 | ssize_t bufleft; | 65 | size_t bufleft; |
66 | 66 | ||
67 | /* simple function to "allocate" memory in pluginbuffer. */ | 67 | /* simple function to "allocate" memory in pluginbuffer. */ |
68 | void *pl_malloc(ssize_t size) | 68 | void *pl_malloc(size_t size) |
69 | { | 69 | { |
70 | void *ptr; | 70 | void *ptr; |
71 | ptr = bufptr; | 71 | ptr = bufptr; |
@@ -85,7 +85,7 @@ void *pl_malloc(ssize_t size) | |||
85 | /* init function for pl_malloc() */ | 85 | /* init function for pl_malloc() */ |
86 | void pl_malloc_init(void) | 86 | void pl_malloc_init(void) |
87 | { | 87 | { |
88 | bufptr = rb->plugin_get_buffer((size_t *)&bufleft); | 88 | bufptr = rb->plugin_get_buffer(&bufleft); |
89 | } | 89 | } |
90 | 90 | ||
91 | /* for endian problems */ | 91 | /* for endian problems */ |