X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfbe03c9c3ffecd6363dcc63e6fc27b8c6ed70aa..b3402d0df8c9f763da1e32fc28c824014e5516c6:/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;