]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed a BCC compilation ambiguity for wxString [int] vs [unsigned int]
authorGeorge Tasker <gtasker@allenbrook.com>
Fri, 13 Apr 2001 11:40:21 +0000 (11:40 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Fri, 13 Apr 2001 11:40:21 +0000 (11:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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'."),