-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some casts to shut up MSVC in 32-bit mode.
- Loading branch information
Showing
1 changed file
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8d316ee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For mapGetInt you can use mapGetIntSaturated instead:
https://github.com/vapoursynth/vapoursynth/blob/dd1b640f88e43bc134a9db1602f15710477e4810/include/VapourSynth4.h#L409
8d316ee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Making the release is the first time I've compiled the 32-bit version in forever. I thought it was odd the API returned an int64_t, but didn't even notice mapGetIntSaturated() in the header.