Skip to content

Commit 55369d0

Browse files
committed
Merge pull request #200 from bbodi/tick_ui32
get_ticks returns u32 instead of uint
2 parents f034cd7 + 9fc3149 commit 55369d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sdl2/sdl.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,6 @@ pub fn clear_error() {
133133
unsafe { ll::SDL_ClearError(); }
134134
}
135135

136-
pub fn get_ticks() -> uint {
137-
unsafe { ll::SDL_GetTicks() as uint }
136+
pub fn get_ticks() -> u32 {
137+
unsafe { ll::SDL_GetTicks() as u32 }
138138
}

0 commit comments

Comments
 (0)