Changeset 97955 in vbox
- Timestamp:
- Jan 3, 2023 3:46:42 PM (2 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/ldr/ldrMachO.cpp
r96407 r97955 3114 3114 case S_LAZY_SYMBOL_POINTERS: 3115 3115 { 3116 uint32_t *pauDstPtrs = (uint32_t *)((uintptr_t)pvBits + pThis->paSections[iSect].RVA);3116 uint32_t *pauDstPtrs = (uint32_t *)((uintptr_t)pvBits + (uintptr_t)pThis->paSections[iSect].RVA); 3117 3117 uint32_t const cDstPtrs = pThis->paSections[iSect].cb / sizeof(pauDstPtrs[0]); 3118 3118 uint32_t const idxSrcSkip = pSect->reserved1; … … 3186 3186 case S_LAZY_SYMBOL_POINTERS: 3187 3187 { 3188 uint64_t *pauDstPtrs = (uint64_t *)((uintptr_t)pvBits + pThis->paSections[iSect].RVA);3188 uint64_t *pauDstPtrs = (uint64_t *)((uintptr_t)pvBits + (uintptr_t)pThis->paSections[iSect].RVA); 3189 3189 uint32_t const cDstPtrs = pThis->paSections[iSect].cb / sizeof(pauDstPtrs[0]); 3190 3190 uint32_t const idxSrcSkip = pSect->reserved1; -
trunk/src/VBox/Runtime/r3/posix/localipc-posix.cpp
r97894 r97955 294 294 AssertReturn(pThis->Name.sun_path[0] != '\0', VERR_INVALID_STATE); 295 295 296 if (chown(pThis->Name.sun_path, -1, gid) == 0)296 if (chown(pThis->Name.sun_path, (uid_t)-1, gid) == 0) 297 297 { 298 298 if (chmod(pThis->Name.sun_path, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP) == 0) … … 1136 1136 } 1137 1137 else 1138 {1139 1138 rc = RTErrConvertFromErrno(errno); 1140 }1141 1139 1142 1140 int rc2 = RTCritSectLeave(&pThis->CritSect); -
trunk/src/VBox/Runtime/r3/posix/serialport-posix.cpp
r96407 r97955 1105 1105 1106 1106 int rcPsx = 0; 1107 int msTimeoutLeft = msTimeout == RT_INDEFINITE_WAIT ? -1 : msTimeout;1107 int msTimeoutLeft = msTimeout == RT_INDEFINITE_WAIT ? -1 : (int)msTimeout; 1108 1108 while (msTimeoutLeft != 0) 1109 1109 {
Note:
See TracChangeset
for help on using the changeset viewer.