Changeset 11115 for code/trunk/src/external
- Timestamp:
- Feb 14, 2016, 6:08:13 PM (9 years ago)
- Location:
- code/trunk/src/external/bullet/LinearMath
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/external/bullet/LinearMath/btAlignedAllocator.cpp
r8351 r11115 67 67 real = (char *)sAllocFunc(size + sizeof(void *) + (alignment-1)); 68 68 if (real) { 69 offset = (alignment - (unsigned long )(real + sizeof(void *))) & (alignment-1);69 offset = (alignment - (unsigned long long)(real + sizeof(void *))) & (alignment-1); 70 70 ret = (void *)((real + sizeof(void *)) + offset); 71 71 *((void **)(ret)-1) = (void *)(real); -
code/trunk/src/external/bullet/LinearMath/btSerializer.h
r8393 r11115 248 248 } 249 249 { 250 nr= (long )cp;250 nr= (long long)cp; 251 251 // long mask=3; 252 252 nr= ((nr+3)&~3)-nr; … … 283 283 284 284 { 285 nr= (long )cp;285 nr= (long long)cp; 286 286 // long mask=3; 287 287 nr= ((nr+3)&~3)-nr;
Note: See TracChangeset
for help on using the changeset viewer.