changeset 23237:c2557e82803b

cast to what's really expected
author ben
date Mon, 07 May 2007 19:48:15 +0000
parents f0ddd02aec27
children dc442598a7d8
files libmenu/menu.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmenu/menu.c	Mon May 07 19:11:56 2007 +0000
+++ b/libmenu/menu.c	Mon May 07 19:48:15 2007 +0000
@@ -306,7 +306,7 @@
   c = (unsigned char)*(*txt)++;
   if (c >= 0x80) {
     if (menu_utf8)
-      c = utf8_get_char((const char*)txt);
+      c = utf8_get_char((const char**)txt);
     else if (menu_unicode)
       c = (c<<8) + (unsigned char)*(*txt)++;
   }