diff options
Diffstat (limited to 'nx-X11/lib/src/xlibi18n/lcPublic.c')
-rw-r--r-- | nx-X11/lib/src/xlibi18n/lcPublic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nx-X11/lib/src/xlibi18n/lcPublic.c b/nx-X11/lib/src/xlibi18n/lcPublic.c index f35f17a63..1cbc212dc 100644 --- a/nx-X11/lib/src/xlibi18n/lcPublic.c +++ b/nx-X11/lib/src/xlibi18n/lcPublic.c @@ -219,7 +219,7 @@ initialize( * _XlMapOSLocaleName will return the same string or a substring * of name, so strlen(name) is okay */ - if ((len = strlen(name)) < sizeof sinamebuf) + if ((len = (int) strlen(name)) < sizeof sinamebuf) siname = sinamebuf; else siname = Xmalloc (len + 1); @@ -258,6 +258,7 @@ destroy_core( if (lcd) { if (lcd->core) { Xfree(lcd->core->name); + Xfree(lcd->core->modifiers); Xfree(lcd->core); } Xfree(lcd->methods); |