We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62f86e2 commit 07e806bCopy full SHA for 07e806b
src/xrGame/GameObject.cpp
@@ -115,7 +115,7 @@ void CGameObject::MakeMeCrow()
115
#ifndef LINUX
116
if ((u32)_InterlockedCompareExchange((long*)&dwFrame_AsCrow, device_frame_id, object_frame_id) == device_frame_id)
117
#else
118
- if (__sync_val_compare_and_swap((long*)&dwFrame_AsCrow, object_frame_id, device_frame_id) == device_frame_id)
+ if (__sync_val_compare_and_swap(&dwFrame_AsCrow, object_frame_id, device_frame_id) == device_frame_id)
119
#endif
120
return;
121
0 commit comments