X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfbe03c9c3ffecd6363dcc63e6fc27b8c6ed70aa..7b9da2077d0975db6c965a85c91d5aca671ab5e3:/src/xpm/misc.c diff --git a/src/xpm/misc.c b/src/xpm/misc.c index c0089ab011..3ef812a1ce 100644 --- a/src/xpm/misc.c +++ b/src/xpm/misc.c @@ -131,7 +131,7 @@ XpmFreeExtensions(XpmExtension *extensions, int nextensions) char **sptr; if (extensions) { - for (i = 0, ext = extensions; i < nextensions; i++, ext++) { + for (i = 0, ext = extensions; i < (unsigned int)nextensions; i++, ext++) { if (ext->name) XpmFree(ext->name); nlines = ext->nlines;