VirtualBox

Ignore:
Timestamp:
Nov 15, 2012 1:44:09 PM (12 years ago)
Author:
vboxsync
Message:

fixed a few format specifier bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VMMDev.cpp

    r43320 r43876  
    973973                                RTStrCopy(szFilePathOld, sizeof(szFilePathOld), szCorePath);
    974974                            else
    975                                 RTStrPrintf(szFilePathOld, sizeof(szFilePathOld), "%s.%d", szCorePath, i);
     975                                RTStrPrintf(szFilePathOld, sizeof(szFilePathOld), "%s.%lld", szCorePath, i);
    976976
    977977                            char szFilePathNew[RTPATH_MAX];
    978                             RTStrPrintf(szFilePathNew, sizeof(szFilePathNew), "%s.%d", szCorePath, i + 1);
     978                            RTStrPrintf(szFilePathNew, sizeof(szFilePathNew), "%s.%lld", szCorePath, i + 1);
    979979                            int vrc = RTFileMove(szFilePathOld, szFilePathNew, RTFILEMOVE_FLAGS_REPLACE);
    980980                            if (vrc == VERR_FILE_NOT_FOUND)
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