Changeset 68579 in vbox
- Timestamp:
- Aug 31, 2017 12:11:06 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 117796
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxGuest.h
r68576 r68579 327 327 } VBGLIOCDRIVERVERSIONINFO, RT_FAR *PVBGLIOCDRIVERVERSIONINFO; 328 328 AssertCompileSize(VBGLIOCDRIVERVERSIONINFO, 24 + 20); 329 #ifndef RT_OS_OS2 /* figure this one out... */329 #ifndef __GNUC__ /* Some GCC versions can't handle the complicated RT_UOFFSET_AFTER macro, it seems. */ 330 330 AssertCompile(VBGL_IOCTL_DRIVER_VERSION_INFO_SIZE_IN == 24 + 16); 331 331 #endif … … 404 404 } VBGLIOCHGCMCONNECT, RT_FAR *PVBGLIOCHGCMCONNECT; 405 405 AssertCompileSize(VBGLIOCHGCMCONNECT, 24 + 132); 406 #ifndef RT_OS_OS2 /* figure this one out... */406 #ifndef __GNUC__ /* Some GCC versions can't handle the complicated RT_UOFFSET_AFTER macro, it seems. */ 407 407 AssertCompile(VBGL_IOCTL_HGCM_CONNECT_SIZE_OUT == 24 + 4); 408 408 #endif … … 1043 1043 } VBGLIOCIDCCONNECT, RT_FAR *PVBGLIOCIDCCONNECT; 1044 1044 AssertCompileSize(VBGLIOCIDCCONNECT, 24 + 16 + (ARCH_BITS == 64 ? 8 : 4) * 2); 1045 #ifndef RT_OS_OS2 /* figure this one out... */1045 #ifndef __GNUC__ /* Some GCC versions can't handle the complicated RT_UOFFSET_AFTER macro, it seems. */ 1046 1046 AssertCompile(VBGL_IOCTL_IDC_CONNECT_SIZE_IN == 24 + 16); 1047 1047 #endif -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3Lib.cpp
r68561 r68579 429 429 if (g_File != NIL_RTFILE) 430 430 { 431 if (RT_LIKELY(ioctl((int) g_File, uFunction, pHdr) >= 0))431 if (RT_LIKELY(ioctl((int)(intptr_t)g_File, uFunction, pHdr) >= 0)) 432 432 return VINF_SUCCESS; 433 433 return RTErrConvertFromErrno(errno);
Note:
See TracChangeset
for help on using the changeset viewer.