Fixing C99 compatibility warnings.