VirtualBox

Ignore:
Timestamp:
Nov 26, 2009 3:26:36 PM (15 years ago)
Author:
vboxsync
Message:

RTStrVersionCompare: made it return the same as RTStrICmp (-1,0,1).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibHostVersion.cpp

    r25005 r25014  
    133133    if (RT_SUCCESS(rc) && *pfUpdate)
    134134    {
    135         if (RTStrVersionCompare(*ppszHostVersion, *ppszGuestVersion) == 1) /* Is host version greater than guest add version? */
     135        if (RTStrVersionCompare(*ppszHostVersion, *ppszGuestVersion) > 0) /* Is host version greater than guest add version? */
    136136        {
    137137            /* Yay, we have an update! */
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