Resolve GCC warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long int'