Removing most of level 4 warnings, particulary in 16 bits mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user