X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/f7e3ed82874bfd8951c90536bd7185d599d6dbf8..88b3dada70ca624a96d188a8590c642b2ff84c78:/armsrc/printf.c?ds=sidebyside diff --git a/armsrc/printf.c b/armsrc/printf.c index 49537c64..79c123df 100644 --- a/armsrc/printf.c +++ b/armsrc/printf.c @@ -38,9 +38,7 @@ #include #include "printf.h" #include "util.h" - -typedef uint32_t uintmax_t; -typedef int32_t intmax_t; +#include "string.h" typedef unsigned char u_char; typedef unsigned int u_int; @@ -177,6 +175,7 @@ reswitch: switch (ch = (u_char)*fmt++) { padc = '0'; goto reswitch; } + // intentionally fall through to next case case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': for (n = 0;; ++fmt) {