mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 20:46:03 +08:00
Added OS X static libs for the future.
This commit is contained in:
@ -218,7 +218,7 @@ extern const int32 ALIGN16 g_SIMD_EveryOtherMask[]; // 0, ~0, 0, ~0
|
||||
template<class T>
|
||||
inline T *AlignPointer(void * ptr)
|
||||
{
|
||||
unsigned temp = ptr;
|
||||
unsigned temp = (unsigned)ptr;
|
||||
temp = ALIGN_VALUE(temp, sizeof(T));
|
||||
return (T *)temp;
|
||||
}
|
||||
|
Reference in New Issue
Block a user