Pārlūkot izejas kodu

fixed Woverflow warning

master
Pete McNeil pirms 4 gadiem
vecāks
revīzija
1c39f8286f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      snf_saccades.hpp

+ 1
- 1
snf_saccades.hpp Parādīt failu

@@ -17,7 +17,7 @@ class saccade {
private:
const static unsigned int stretchSize = 8;
const static unsigned int stretchMark = stretchSize / 2;
const static unsigned int stretchMask = ((~0UL) ^ (stretchSize - 1));
const static unsigned int stretchMask = ((~0U) ^ (stretchSize - 1));
unsigned int stretchLeft(unsigned int s) {
s = (stretchMark > s) ? s : (s - (stretchMark));

Notiek ielāde…
Atcelt
Saglabāt