VirtualBox

Changeset 79794 in vbox


Ignore:
Timestamp:
Jul 15, 2019 1:39:45 PM (5 years ago)
Author:
vboxsync
Message:

include/VBox/vd-ifs.h: fix string buffer length and formatting for bugref:5899

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vd-ifs.h

    r79744 r79794  
    11531153{
    11541154     int rc = 0;
    1155      char pszValue[11];
    1156      (void) RTStrPrintf(pszValue, sizeof(pszValue), "%ul", u64Value);
     1155     char pszValue[21];
     1156     (void) RTStrPrintf(pszValue, sizeof(pszValue), "%RU64", u64Value);
    11571157     rc = VDCFGUpdate(pCfgIf, fCreate, pszName, pszValue);
    11581158     return rc;
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