浏览代码

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

正在加载...
取消
保存