]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xmlres.cpp
Fixed a BCC compilation ambiguity for wxString [int] vs [unsigned int]
[wxWidgets.git] / contrib / src / xml / xmlres.cpp
index e3d304dc8a9359ffb99194b0457bdf31b34dd259..3acb28f21382f459dccbc2f3dfdbadadde9b8ffb 100644 (file)
@@ -561,7 +561,7 @@ wxColour wxXmlResourceHandler::GetColour(const wxString& param)
     wxString v = GetParamValue(param);
     unsigned long tmp = 0; 
     
-    if (v.Length() != 7 || v[0] != wxT('#') ||
+    if (v.Length() != 7 || v[0u] != wxT('#') ||
         wxSscanf(v.c_str(), wxT("#%lX"), &tmp) != 1)
     {
         wxLogError(_("XML resource: Incorrect colour specification '%s' for property '%s'."),