]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fs_mem.cpp
OS/2 updates for statusbar processing and easier VA debugging
[wxWidgets.git] / src / common / fs_mem.cpp
index bc089b0990f7f442bfe339ccf2554c6f15fb1f75..d1e3b301790b6600adabf329198423164b8c8c7c 100644 (file)
@@ -159,13 +159,13 @@ bool wxMemoryFSHandler::CheckHash(const wxString& filename)
 
     
     wxMemoryOutputStream mems;
-    if (image.Ok() && image.SaveFile(mems, type))
+    if (image.Ok() && image.SaveFile(mems, (int)type))
         m_Hash -> Put(filename, new MemFSHashObj(mems));
     else
     {
         wxString s;
         s.Printf(_("Failed to store image '%s' to memory VFS!"), filename.c_str());
-        printf("'%s'\n", s.c_str());
+        wxPrintf(wxT("'%s'\n"), s.c_str());
         wxLogError(s);
     }
 }