Skip to content

Commit 5d3320e

Browse files
author
nitrocaster
committed
Revert 8214988 (xrEngine/pure_relcase.h: static_cast -> reinterpret_cast).
1 parent 88aa811 commit 5d3320e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrEngine/pure_relcase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class ENGINE_API pure_relcase
1010
pure_relcase(void (xr_stdcall class_type::* function_to_bind)(CObject*))
1111
{
1212
R_ASSERT(g_pGameLevel);
13-
class_type* self = reinterpret_cast<class_type*>(this);
13+
class_type* self = static_cast<class_type*>(this);
1414
g_pGameLevel->Objects.relcase_register(
1515
CObjectList::RELCASE_CALLBACK(
1616
self,

0 commit comments

Comments
 (0)