stumpapp / stump

A free and open source comics, manga and digital book server with OPDS support (WIP)
https://stumpapp.dev
MIT License
938 stars 43 forks source link

:bug: Fix cast error for file size calculation #330

Closed aaronleopold closed 5 months ago

aaronleopold commented 5 months ago

Files which are >2.35 GB do not fit within i32, which is used for the size field on media. I have added a migration to store media size as an i64, so unless you have a file which is ~9223372036.85 GB you should be good lol