Index: pgadmin/ctl/ctlSQLBox.cpp
===================================================================
--- pgadmin/ctl/ctlSQLBox.cpp	(revision 7940)
+++ pgadmin/ctl/ctlSQLBox.cpp	(working copy)
@@ -295,7 +295,7 @@
         selEnd = selStart + find.Length();
     }
 
-    if (selStart >= 0 && selStart != (unsigned int)(-1))
+    if (selStart >= 0 && selStart != (size_t)(-1))
     {
         if (reverse)
         {
