VirtualBox

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


Ignore:
Timestamp:
Jul 30, 2008 11:15:45 AM (16 years ago)
Author:
vboxsync
Message:

RTTimerLRCreateEx: Fixed parameter validation for one shot timers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/timerlr-generic.cpp

    r10944 r10972  
    102102    if (fFlags & RTTIMER_FLAGS_CPU_SPECIFIC)
    103103        return VERR_NOT_SUPPORTED;
    104     if (u64NanoInterval < 100*1000*1000)
     104    if (u64NanoInterval && u64NanoInterval < 100*1000*1000)
    105105        return VERR_INVALID_PARAMETER;
    106106
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