VirtualBox

Changeset 47449 in vbox for trunk/src


Ignore:
Timestamp:
Jul 29, 2013 8:06:14 AM (11 years ago)
Author:
vboxsync
Message:

Additions/VBoxServices: two warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp

    r47336 r47449  
    256256        {
    257257            AssertPtr(pszValue);
    258             g_uVMInfoUserIdleThreshold = RT_CLAMP(RTStrToInt32(pszValue), 1000, UINT32_MAX - 1);
     258            g_uVMInfoUserIdleThreshold = RT_CLAMP(RTStrToUInt32(pszValue), 1000, UINT32_MAX - 1);
    259259            RTStrFree(pszValue);
    260260        }
     
    388388    char *pszName;
    389389    if (pszDomain)
     390    {
    390391        if (!RTStrAPrintf(&pszName, "%s%s@%s/%s", g_pszPropCacheValUser, pszUser, pszDomain, pszKey))
    391392            rc = VERR_NO_MEMORY;
     393    }
    392394    else
     395    {
    393396        if (!RTStrAPrintf(&pszName, "%s%s/%s", g_pszPropCacheValUser, pszUser, pszKey))
    394397            rc = VERR_NO_MEMORY;
     398    }
    395399
    396400    char *pszValue = NULL;
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