X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/deb63b954bbf5fd364bc4c6bbabf0e815a677d95..2201e9b3002f944e8feb846c078d68d8a72f0f9b:/src/os2/palette.cpp diff --git a/src/os2/palette.cpp b/src/os2/palette.cpp index bf84af809f..8012364200 100644 --- a/src/os2/palette.cpp +++ b/src/os2/palette.cpp @@ -150,7 +150,8 @@ int wxPalette::GetPixel( // // Now loop through and find the matching entry // - for (int i = 0; i < ulNumEntries; i++) + int i; + for (i = 0; i < ulNumEntries; i++) { if (pualTable[i] == ulRGB) {