VirtualBox

Changeset 107429 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jan 6, 2025 5:08:14 PM (13 days ago)
Author:
vboxsync
Message:

Runtime/common/string/strtonum.cpp: Fixed a warning found by Parfait. ​jiraref:VBP-1424

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/strtonum.cpp

    r106061 r107429  
    453453        if (psz[0] == '0')
    454454        {
    455             if (   psz[0] == '0'
    456                 && cchMax > 1
     455           if (    cchMax > 1
    457456                && (psz[1] == 'x' || psz[1] == 'X')
    458457                && g_auchDigits[(unsigned char)psz[2]] < 16)
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