X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f03fc89fff2d6e823e7d4d14fbe14822ad6777b1..b9b3ccd9ea9bf892369a6fa2c8e28e0ceca18527:/src/common/list.cpp diff --git a/src/common/list.cpp b/src/common/list.cpp index fd5d655ecb..48a91d0d9e 100644 --- a/src/common/list.cpp +++ b/src/common/list.cpp @@ -563,7 +563,7 @@ wxStringList::wxStringList (const wxChar *first, ...) s = va_arg(ap, const wxChar *); // if (s == NULL) #ifdef __WXMSW__ - if ((int) s == 0) + if ((int)(long) s == 0) #else if ((long) s == 0) #endif @@ -604,7 +604,7 @@ bool wxStringList::Member(const wxChar *s) const return FALSE; } -static int +static int LINKAGEMODE wx_comparestrings(const void *arg1, const void *arg2) { wxChar **s1 = (wxChar **) arg1;