VirtualBox

Changeset 21980 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Aug 5, 2009 11:19:55 AM (15 years ago)
Author:
vboxsync
Message:

VBoxServiceVMInfo.cpp: VBOX_SVN_REV is not a long but an int. No need to initialize buffers all over the place.

File:
1 edited

Legend:

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

    r21941 r21980  
    178178    VboxServiceWriteProp(g_VMInfoGuestPropSvcClientID, "GuestAdd/Version", VBOX_VERSION_STRING);
    179179
    180     char szRevision[32] = {0};
    181     RTStrPrintf(szRevision, sizeof(szRevision), "%lu", VBOX_SVN_REV);
     180    char szRevision[32];
     181    RTStrPrintf(szRevision, sizeof(szRevision), "%u", VBOX_SVN_REV);
    182182    VboxServiceWriteProp(g_VMInfoGuestPropSvcClientID, "GuestAdd/Revision", szRevision);
    183183#endif
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