]> source.dussan.org Git - tigervnc.git/commitdiff
Eliminated gcc compilation warning.
authorConstantin Kaplinsky <const@tightvnc.com>
Wed, 11 Apr 2007 08:48:11 +0000 (08:48 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Wed, 11 Apr 2007 08:48:11 +0000 (08:48 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2254 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/rfb/ScaleFilters.cxx

index 0eb7c23556fe8092b89456858d31c65e0c1a54f8..97adbc0dec7f03716a82eb50c621d2c6f4a70949 100644 (file)
@@ -76,7 +76,7 @@ SFilter &ScaleFilters::operator[](unsigned int filter_id) {
 }\r
 \r
 int ScaleFilters::getFilterIdByName(char *filterName) {\r
-  for (int i = 0; i <= scaleFilterMaxNumber; i++) {\r
+  for (unsigned int i = 0; i <= scaleFilterMaxNumber; i++) {\r
     if (strcasecmp(filters[i].name, filterName) == 0) return i;\r
   }\r
   return -1;\r