mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 04:03:59 +02:00
Fixed signed/unsigned warnign.
This commit is contained in:
parent
1e93137e6b
commit
d975e3f0ce
1 changed files with 1 additions and 1 deletions
|
@ -1438,7 +1438,7 @@ void Audio::renderToolBox(int x, int y, bool boxed) {
|
|||
static const float PULSE_MAX = 1.0f;
|
||||
static const float PULSE_FREQUENCY = 1.0f; // in Hz
|
||||
qint64 now = usecTimestampNow();
|
||||
if (now - _iconPulseTimeReference > USECS_PER_SECOND) {
|
||||
if (now - _iconPulseTimeReference > (qint64)USECS_PER_SECOND) {
|
||||
// Prevents t from getting too big, which would diminish glm::cos precision
|
||||
_iconPulseTimeReference = now - ((now - _iconPulseTimeReference) % USECS_PER_SECOND);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue