Mercurial > touhou
diff pytouhou/ui/window.pyx @ 491:2276229282fd
Fix gcc’s warnings with -Wall -Wextra.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 04 Oct 2013 14:32:28 +0200 |
parents | 58b47e788c59 |
children | 104c737ce8b3 |
line wrap: on
line diff
--- a/pytouhou/ui/window.pyx +++ b/pytouhou/ui/window.pyx @@ -65,7 +65,7 @@ cdef class Clock: target_tick = self._ref_tick if self._target_fps: - target_tick += <long>(self._ref_frame * 1000 / self._target_fps) + target_tick += <unsigned long>(self._ref_frame * 1000 / self._target_fps) if current <= target_tick: sdl.delay(target_tick - current)