Changeset 25250 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Dec 8, 2009 2:33:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/fakedri_drv.c
r25248 r25250 202 202 # endif 203 203 204 #ifdef RT_ARCH_AMD64 204 205 { 205 #ifdef RT_ARCH_AMD64 206 int64_t offset = (intptr_t)shift; 207 #else 208 int64_t offset = (int64_t)((intptr_t)pStart)-((int64_t)((intptr_t)dlip.dli_saddr)+5); 209 #endif 210 if ( (RT_HIDWORD(offset) != 0) && (RT_HIDWORD(offset) != 0xFFFFFFFF) 211 && (((int32_t)offset > INT32_MAX) || ((int32_t)offset < INT32_MIN))) 206 int64_t offset = (intptr_t)shift; 207 208 if (offset>INT32_MAX || offset<INT32_MIN) 212 209 { 213 210 crDebug("Can't patch offset is too big.(%s)", psFuncName); … … 215 212 } 216 213 } 214 #endif 217 215 218 216 patch[0] = 0xE9;
Note:
See TracChangeset
for help on using the changeset viewer.