Re:Just fixed a 20-year-old bug…
by cpr on Sunday August 28, 2011 @07:33PM
(#2935288)
Boy, you'd think anything with an (int32) cast would get seriously eagle-eyed during a 64-bit port...
[ Parent
| on HN ]
Re:Just fixed a 20-year-old bug…
by pagekalisedown on Sunday August 28, 2011 @09:58PM
(#2935580)
You'd think the first thing someone would do is grep for all typecasts. hmm
One thing you can do to make your typecasts easier to find, assuming you're using C++, is using static_cast. I know it's ugly, but searching for static_cast is much easier than all possible ways you can write a typecast.