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

Integer type inference breaks decoder.rs #49

Closed
TyOverby opened this issue Jul 7, 2014 · 1 comment
Closed

Integer type inference breaks decoder.rs #49

TyOverby opened this issue Jul 7, 2014 · 1 comment

Comments

@TyOverby
Copy link
Contributor

TyOverby commented Jul 7, 2014

src/codecs/jpeg/decoder.rs:659:9: 659:32 error: cannot determine a type for this local variable: cannot determine the type of this integer; add a suffix to specify the type explicitly     
src/codecs/jpeg/decoder.rs:659     let vt = 1 << t as uint - 1;                                                                                                                             
                                       ^~~~~~~~~~~~~~~~~~~~~~~                                                                                                                              
@TyOverby
Copy link
Contributor Author

TyOverby commented Jul 7, 2014

Closing due to my stupidity. Wasn't updated on master...

kstrafe pushed a commit to kstrafe/image that referenced this issue Jun 27, 2020
Change upsampling to use a trait instead of function pointers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant