X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/db68bcdb06618c97a45a39ff5ed6acf666da62e2..c95affa8d3d84f0bd5db7821f65c22e13870d4e2:/client/util.c diff --git a/client/util.c b/client/util.c index de62ac79..a1caafdb 100644 --- a/client/util.c +++ b/client/util.c @@ -541,7 +541,7 @@ int param_getstr(const char *line, int paramnum, char * str, size_t buffersize) // Prevent out of bounds errors if (en - bg + 1 >= buffersize) { - printf("out of bounds error: want %lu bytes have %lu bytes\n", en - bg + 1 + 1, buffersize); + printf("out of bounds error: want %d bytes have %zd bytes\n", en - bg + 1 + 1, buffersize); return 0; }