VirtualBox

Changeset 31302 in vbox


Ignore:
Timestamp:
Aug 2, 2010 1:35:40 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64329
Message:

fixed Linux builds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/path-posix.cpp

    r31288 r31302  
    598598    AssertReturn(*pszPath, VERR_INVALID_PARAMETER);
    599599    AssertMsgReturn(RTPATH_F_IS_VALID(fFlags, 0), ("%#x\n", fFlags), VERR_INVALID_PARAMETER);
    600     uid_t uidNative = uid != UINT32_MAX ? (uid_t)uid : -1;
     600    uid_t uidNative = uid != UINT32_MAX ? (uid_t)uid : (uid_t)-1;
    601601    AssertReturn(uid == uidNative, VERR_INVALID_PARAMETER);
    602     gid_t gidNative = gid != UINT32_MAX ? (gid_t)gid : -1;
     602    gid_t gidNative = gid != UINT32_MAX ? (gid_t)gid : (uid_t)-1;
    603603    AssertReturn(gid == gidNative, VERR_INVALID_PARAMETER);
    604604
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette