Thread: IT 1.2 (ported)
View Single Post
Old 3rd October 2014, 17:53   #6  |  Link
TheFluff
Excessively jovial fellow
 
Join Date: Jun 2004
Location: rude
Posts: 1,100
Quote:
Originally Posted by MeteorRain View Post
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

Last edited by TheFluff; 3rd October 2014 at 17:56.
TheFluff is offline   Reply With Quote