diff options
author | Constantin Kaplinsky <const@tightvnc.com> | 2007-04-11 08:48:11 +0000 |
---|---|---|
committer | Constantin Kaplinsky <const@tightvnc.com> | 2007-04-11 08:48:11 +0000 |
commit | f7f58751a0cee906f672e680cbf7938865f75e99 (patch) | |
tree | fa57f72985c731cd5853c9775c16a0d7618910a4 /common/rfb/ScaleFilters.cxx | |
parent | 37531aa8946b0746259fa65f31176bdb014f4e32 (diff) | |
download | tigervnc-f7f58751a0cee906f672e680cbf7938865f75e99.tar.gz tigervnc-f7f58751a0cee906f672e680cbf7938865f75e99.zip |
Eliminated gcc compilation warning.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2254 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/ScaleFilters.cxx')
-rw-r--r-- | common/rfb/ScaleFilters.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/ScaleFilters.cxx b/common/rfb/ScaleFilters.cxx index 0eb7c235..97adbc0d 100644 --- a/common/rfb/ScaleFilters.cxx +++ b/common/rfb/ScaleFilters.cxx @@ -76,7 +76,7 @@ SFilter &ScaleFilters::operator[](unsigned int filter_id) { }
int ScaleFilters::getFilterIdByName(char *filterName) {
- for (int i = 0; i <= scaleFilterMaxNumber; i++) {
+ for (unsigned int i = 0; i <= scaleFilterMaxNumber; i++) {
if (strcasecmp(filters[i].name, filterName) == 0) return i;
}
return -1;
|