Fix build on 64bit platforms

This commit is contained in:
Tilman Keskinoz 2007-08-02 12:14:45 +00:00
parent 43d0d39cb9
commit 6dc653ccab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196955

View File

@ -0,0 +1,11 @@
--- event.hpp.orig 2007-08-02 14:11:31.000000000 +0200
+++ event.hpp 2007-08-02 14:11:45.000000000 +0200
@@ -74,7 +74,7 @@
list<Event *>::iterator k;
for (k = events.begin(); k != events.end(); ++k) {
Event *e = *k;
- printf(":: Event %d 0x%x\n", e->type, (unsigned int)(e->function));
+ printf(":: Event %d 0x%x\n", e->type, (unsigned intptr_t)(e->function));
}
}