1
0
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:
Scott Ehlert
2012-05-21 18:30:56 -05:00
parent f2185a5cfb
commit 75fdf22c20
13 changed files with 42 additions and 22 deletions

View File

@ -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;
}