-
Notifications
You must be signed in to change notification settings - Fork 476
Closed
Labels
Milestone
Description
I am not totally sure about whether it makes sense to be casting between C and Rust integer types, but currently isize is being used in several places to map to a c_int, which is wrong. c_int's can be as small as 16 bits and are not related to pointer size, so, as is, values can silently overflow on the Rust side.