]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/util.c
minor fixes
[proxmark3-svn] / client / util.c
index de62ac7929314ba11dae46d5f2f0e057b7d75f6a..a1caafdbf9ec925561e905aa306785a5c453690d 100644 (file)
@@ -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;
        }
        
Impressum, Datenschutz