Eva.ini contains this event for a detected beacon:
EvaEvent BeaconDetected
Priority = 2
TimeBetweenChecksMS = 30000 ; 30 seconds
ExpirationTimeMS = -1 ; -1 means FOREVER
|
{ "ExpirationTimeMS", INI::parseDurationUnsignedInt, nullptr, offsetof( EvaCheckInfo, m_framesToExpire) }, |
m_framesToExpire is parsed as unsigned int but has a negative value in the ini file. This works as intended, but it's unexpected and may stop working if scanUnsignedInt is refactored. It's the only instance that I could find where a negative value is parsed as unsigned integer.