瀏覽代碼

fixed Woverflow warning

master
Pete McNeil 4 年之前
父節點
當前提交
1c39f8286f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      snf_saccades.hpp

+ 1
- 1
snf_saccades.hpp 查看文件

@@ -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…
取消
儲存