Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_ticks returns u32 instead of uint #200

Merged
merged 1 commit into from
Oct 17, 2014
Merged

Conversation

bbodi
Copy link

@bbodi bbodi commented Oct 17, 2014

https://wiki.libsdl.org/SDL_GetTicks
Uint32 SDL_GetTicks(void)

According to the SDL documentation, this function should return u32 instead of simple uint. (The guys at Rust also debate about the correct way of using int and uint types)

@AngryLawyer
Copy link
Member

Yup, I'll agree with this, we should always be specific with our int types

AngryLawyer added a commit that referenced this pull request Oct 17, 2014
get_ticks returns u32 instead of uint
@AngryLawyer AngryLawyer merged commit 55369d0 into Rust-SDL2:master Oct 17, 2014
@bbodi bbodi deleted the tick_ui32 branch October 27, 2014 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants