Changeset 97955 in vbox for trunk/src/VBox/Runtime/r3
- Timestamp:
- Jan 3, 2023 3:46:42 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 155046
- Location:
- trunk/src/VBox/Runtime/r3/posix
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.