Fix MinGW warnings
Fixes
warning: format '%lu' expects argument of type 'long unsigned int', but
argument 5 has type 'unsigned int' [-Wformat=]
and
warning: format '%lld' expects argument of type 'long long int', but
argument 5 has type 'unsigned int' [-Wformat=]