$OpenBSD$ --- source/Irrlicht/CAttributeImpl.h.orig Sun Dec 26 20:30:16 2010 +++ source/Irrlicht/CAttributeImpl.h Sun Dec 26 20:30:18 2010 @@ -1937,8 +1937,8 @@ class CUserPointerAttribute : public IAttribute (publi virtual core::stringw getStringW() { - wchar_t buf[32]; - swprintf(buf, 32, L"%p", Value); + char buf[32]; + snprintf(buf, 32, (const char *)"0x%x", *(int*)(&Value)); return core::stringw(buf); }