diff pytouhou/ui/window.pxd @ 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 36bc577b2392
children c622eaf64428
line wrap: on
line diff
--- a/pytouhou/ui/window.pxd
+++ b/pytouhou/ui/window.pxd
@@ -2,7 +2,8 @@ from pytouhou.lib cimport sdl
 
 
 cdef class Clock:
-    cdef long _target_fps, _ref_tick, _ref_frame, _fps_tick, _fps_frame
+    cdef unsigned long _ref_tick
+    cdef long _target_fps, _ref_frame, _fps_tick, _fps_frame
     cdef double _rate
 
     cdef void set_target_fps(self, long fps) nogil