]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected the previous warning fix so that it doesn't break the code
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 29 Mar 2002 10:49:54 +0000 (10:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 29 Mar 2002 10:49:54 +0000 (10:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmltag.cpp

index 8848884e571a69eeee2934dca2c471008e1b12ce..9d17c87eabe540d825cb8d8162ecdd6ffd61418d 100644 (file)
@@ -78,9 +78,9 @@ wxHtmlTagsCache::wxHtmlTagsCache(const wxString& source)
             tg = m_CacheSize++;
             m_Cache[tg].Key = stpos = pos++;
 
-            size_t i;
+            int i;
             for ( i = 0;
-                  pos < lng && i < WXSIZEOF(tagBuffer) - 1 &&
+                  pos < lng && i < (int)WXSIZEOF(tagBuffer) - 1 &&
                   src[pos] != wxT('>') && !wxIsspace(src[pos]);
                   i++, pos++ )
             {