Browse Source

fixed Woverflow warning

master
Pete McNeil 4 years ago
parent
commit
1c39f8286f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      snf_saccades.hpp

+ 1
- 1
snf_saccades.hpp View File

@@ -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));

Loading…
Cancel
Save