Fixed int C99 compatibility