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

Increase type cast value #855

Merged
merged 1 commit into from
Jul 2, 2022
Merged

Increase type cast value #855

merged 1 commit into from
Jul 2, 2022

Conversation

juuz0
Copy link
Collaborator

@juuz0 juuz0 commented Jul 2, 2022

b49ea7c introduced the unsigned type-cast for bytesAvailable to remove warnings of comparing different types.
But it caused a problem in downloads above 4GB as unsigned was too short. This changes it to unsigned long long
Fixes #854

b49ea7c introduced the unsigned type-cast for bytesAvailable to remove warnings of comparing different types.
But it caused a problem in downloads above 4GB as unsigned was too short. This changes it to unsigned long long
@juuz0 juuz0 requested review from mgautierfr and kelson42 July 2, 2022 08:42
@kelson42 kelson42 merged commit 8649da5 into master Jul 2, 2022
@kelson42 kelson42 deleted the fixUnsigned branch July 2, 2022 09:58
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.

Kiwix incorrectly claims "not enough storage available"
2 participants