VirtualBox

Changeset 14054 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Nov 10, 2008 10:50:44 PM (16 years ago)
Author:
vboxsync
Message:

iprt: RTPath - lenths are size_t not unsigned.

Location:
trunk/src/VBox/Runtime/r3
Files:
3 edited

Legend:

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

    r14052 r14054  
    571571 * @param   cchAbsPath      Size of the buffer.
    572572 */
    573 RTDECL(int) RTPathAbsEx(const char *pszBase, const char *pszPath, char *pszAbsPath, unsigned cchAbsPath)
     573RTDECL(int) RTPathAbsEx(const char *pszBase, const char *pszPath, char *pszAbsPath, size_t cchAbsPath)
    574574{
    575575    if (pszBase && pszPath && !rtPathVolumeSpecLen(pszPath))
  • trunk/src/VBox/Runtime/r3/posix/path-posix.cpp

    r14050 r14054  
    6060
    6161
    62 RTDECL(int) RTPathReal(const char *pszPath, char *pszRealPath, unsigned cchRealPath)
     62RTDECL(int) RTPathReal(const char *pszPath, char *pszRealPath, size_t cchRealPath)
    6363{
    6464    /*
     
    167167
    168168
    169 RTDECL(int) RTPathAbs(const char *pszPath, char *pszAbsPath, unsigned cchAbsPath)
     169RTDECL(int) RTPathAbs(const char *pszPath, char *pszAbsPath, size_t cchAbsPath)
    170170{
    171171    /*
  • trunk/src/VBox/Runtime/r3/win/path-win.cpp

    r14050 r14054  
    5656 * @param   cchRealPath     Size of the buffer.
    5757 */
    58 RTDECL(int) RTPathReal(const char *pszPath, char *pszRealPath, unsigned cchRealPath)
     58RTDECL(int) RTPathReal(const char *pszPath, char *pszRealPath, size_t cchRealPath)
    5959{
    6060    /*
     
    9797 * @param   cchAbsPath      Size of the buffer.
    9898 */
    99 RTDECL(int) RTPathAbs(const char *pszPath, char *pszAbsPath, unsigned cchAbsPath)
     99RTDECL(int) RTPathAbs(const char *pszPath, char *pszAbsPath, size_t cchAbsPath)
    100100{
    101101    /*
Note: See TracChangeset for help on using the changeset viewer.

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