Eliminate the compiler complain against the format of vsprintf, e.g. for...

...mat specifies type 'uintmax_t' (aka 'unsigned long') but the argument has type 'uint64_t' (aka 'unsigned long long') [-Werror,-Wformat]