Quote:
Originally Posted by MeteorRain
I did a quick Google only to find this post itself. Any hints?
|
http://www.vapoursynth.com/doc/api/v...ml#int64toints
Avoid plain old C casts if possible, especially if they actually change the data (like in this case, an integer width reduction). In general in C++ if you really really do need to cast you should probably use static_cast<typename>(), reinterpret_cast<typename>() and friends instead. See
http://stackoverflow.com/questions/1...nstead-of-intx and
http://stackoverflow.com/questions/3...t-cast-be-used