]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fs_inet.cpp
xti fixes
[wxWidgets.git] / src / common / fs_inet.cpp
index 7d4be026c9c5ed551df71692cd3e3aaaa294414b..217d7bd72cea3d1cd01a3e0e5d8bcf11a1af4a7d 100644 (file)
@@ -156,11 +156,11 @@ wxFSFile* wxInternetFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxStri
 
 wxInternetFSHandler::~wxInternetFSHandler()
 {
-    wxNode *n;
+    wxHashTable::compatibility_iterator n;
     wxInetCacheNode *n2;
 
     m_Cache.BeginFind();
-    while ((n = m_Cache.Next()) != NULL)
+    while ((n = m_Cache.Next()) != 0)
     {
         n2 = (wxInetCacheNode*) n->GetData();
         wxRemoveFile(n2->GetTemp());