I'd have to see the code myself with full context.  Is it not just a parse check for assigning the value to an unsigned int for example.  Despite that, regardless of code as I initially stated Satoshi isn't infallible and is plenty capable of introducing error.