Blob Blame History Raw
--- boinc_core_release_5_10_45_orig/clientgui/SkinManager.cpp	2007-08-16 04:32:09.000000000 +1000
+++ boinc_core_release_5_10_45/clientgui/SkinManager.cpp	2008-05-17 00:31:11.000000000 +1000
@@ -100,11 +100,11 @@
 
 
 wxColour CSkinItem::ParseColor(wxString strColor) {
-    int red, green, blue;
+    long red, green, blue;
     wxStringTokenizer tkz(strColor, wxT(":"), wxTOKEN_RET_EMPTY);
-    wxString(tkz.GetNextToken()).ToLong((long*)&red);
-	wxString(tkz.GetNextToken()).ToLong((long*)&green);
-	wxString(tkz.GetNextToken()).ToLong((long*)&blue);
+    wxString(tkz.GetNextToken()).ToLong(&red);
+	wxString(tkz.GetNextToken()).ToLong(&green);
+	wxString(tkz.GetNextToken()).ToLong(&blue);
     return wxColour((unsigned char)red, (unsigned char)green, (unsigned char)blue);
 }