VirtualBox

Changeset 4336 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 24, 2007 9:51:03 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
23874
Message:

Runtime: rtStrFormatNumber(): Use 10 as number base when 0 is passed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/strformat.cpp

    r4071 r4336  
    157157     * Validate and addjust input...
    158158     */
     159    if (uiBase == 0)
     160        uiBase = 10;
    159161    kASSERT((uiBase >= 2 || uiBase <= 16));
    160162    if (fFlags & RTSTR_F_CAPITAL)
Note: See TracChangeset for help on using the changeset viewer.

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