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

Fix division operator because of Crystal 0.31.0 #57

Merged
merged 1 commit into from Sep 28, 2019

Conversation

gdotdesign
Copy link
Contributor

compute_default_part_size of MultipartFileUploader returns Float64 right now on Crystal 0.31.0, on 0.30.1 it returned Int32:
https://github.com/taylorfinnell/awscr-s3/blob/master/src/awscr-s3/multipart_file_uploader.cr#L60

This is because of this PR:
crystal-lang/crystal#8120

The division needs to be changed from / to // to keep the type of the right side.

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.

None yet

2 participants