use a slightly more sane cast

Change-Id: I325a8acac3168ec0a649033e3c3cef781ed7b53d
This commit is contained in:
Bjoern Michaelsen
2012-08-18 00:08:52 +02:00
parent 2cbdaf677c
commit 03d64b736a

View File

@@ -41,7 +41,7 @@ class WindowHash
{ {
public: public:
size_t operator()(const ::Window* argument) const size_t operator()(const ::Window* argument) const
{ return reinterpret_cast<unsigned long>(argument); } { return reinterpret_cast<uintptr_t>(argument); }
}; };
class EventDescriptor class EventDescriptor