]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/resource.cpp
Removing most of level 4 warnings, particulary in 16 bits mode
[wxWidgets.git] / src / common / resource.cpp
index 47f9a2afba688dacd4f10660ce9fc25772f3fb0d..c51def975a668c18f9447f9075cb587cde358234 100644 (file)
@@ -2495,7 +2495,7 @@ bool wxResourceAddIdentifier(const wxString& name, int value, wxResourceTable *t
   if (!table)
     table = wxDefaultResourceTable;
 
-  table->identifiers.Put(name, (wxObject *)value);
+  table->identifiers.Put(name, (wxObject *)(long)value);
   return TRUE;
 }