ops[] should be an integer array, not a char array. Cleans up many 'overflow in implicit constant conversion' warnings.