Deal with warnings about reinterpret_cast sizes on the 64 bit build

This commit is contained in:
Charles Dang 2019-07-23 12:18:53 +11:00
parent 0e173a451d
commit ba025668a6

View file

@ -38,7 +38,7 @@ public:
event_.code = code;
}
UserEvent(int type, int code, int data1, int data2) : UserEvent(type)
UserEvent(int type, int code, std::size_t data1, std::size_t data2) : UserEvent(type)
{
event_.code = code;
event_.data1 = reinterpret_cast<void*>(data1);