mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 20:16:16 +02:00
Add parenthesis to quiet gcc warning
This commit is contained in:
parent
1f07ba46d0
commit
1e56d0c99b
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ PacketQueue::PacketPointer PacketQueue::takePacket() {
|
|||
}
|
||||
|
||||
unsigned int PacketQueue::nextIndex() {
|
||||
_currentIndex = ++_currentIndex % _channels.size();
|
||||
_currentIndex = (++_currentIndex) % _channels.size();
|
||||
return _currentIndex;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue