felixc / rexiv2

Rust library for read/write access to media-file metadata (Exif, XMP, and IPTC)
GNU General Public License v3.0
79 stars 17 forks source link

fix arm32 #40

Closed asonix closed 4 years ago

asonix commented 4 years ago

ok is a c_long, which means on different architectures it could be different sizes. This change fixes the build for arm32 by casting expected to a c_long instead of an i64

felixc commented 4 years ago

Thank you for the fix!

Would you like to edit the PR to also add yourself to the CONTRIBUTORS.md file? I'm happy to merge either way, just let me know your preference.

asonix commented 4 years ago

I've added my name!

felixc commented 4 years ago

Thank you again for the contribution! I'll cut a new release soon that will include the fix.