Update of /cvsroot/mahogany/M/src/wx/generic
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30465/src/wx/generic

Modified Files:
        persctrl.cpp 
Log Message:
fixes signed/unsigned warnings when compiling with wx cvs HEAD

Index: persctrl.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/wx/generic/persctrl.cpp,v
retrieving revision 1.96
retrieving revision 1.97
diff -b -u -2 -r1.96 -r1.97
--- persctrl.cpp        6 Mar 2006 00:19:26 -0000       1.96
+++ persctrl.cpp        9 Apr 2006 20:25:09 -0000       1.97
@@ -1082,5 +1082,5 @@
         long sel = m_persist->GetConfig()->Read(m_persist->GetKey(), 0l);
 
-        if ( (sel != -1) && (sel < GetCount()) ) {
+        if ( (sel != -1) && ((size_t)sel < GetCount()) ) {
             SetSelection(sel);
 
@@ -1194,5 +1194,5 @@
         long sel = m_persist->GetConfig()->Read(m_persist->GetKey(), 0l);
 
-        if ( (sel != -1) && (sel < GetCount()) ) {
+        if ( (sel != -1) && ((size_t)sel < GetCount()) ) {
             SetSelection(sel);
 
@@ -1312,5 +1312,5 @@
         long sel = m_persist->GetConfig()->Read(m_persist->GetKey(), 0l);
 
-        if ( (sel != -1) && (sel < GetCount()) ) {
+        if ( (sel != -1) && ((size_t)sel < GetCount()) ) {
             SetSelection(sel);
 



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to