Explorar el Código

fixed Woverflow warning

master
Pete McNeil hace 4 años
padre
commit
1c39f8286f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      snf_saccades.hpp

+ 1
- 1
snf_saccades.hpp Ver fichero

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

Cargando…
Cancelar
Guardar