diff --git a/tinyprintf.c b/tinyprintf.c index bb22700..506f23d 100644 --- a/tinyprintf.c +++ b/tinyprintf.c @@ -39,7 +39,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Configuration adjustments */ #ifdef PRINTF_SIZE_T_SUPPORT -#include +#include #endif #ifdef PRINTF_LONG_LONG_SUPPORT @@ -380,6 +380,7 @@ void tfp_format(void *putp, putcf putf, const char *fmt, va_list va) lng = 2; # endif #endif + //-fallthrough case 'x': case 'X': p.base = 16; diff --git a/tinyprintf.h b/tinyprintf.h index a769f4a..a7a7c38 100644 --- a/tinyprintf.h +++ b/tinyprintf.h @@ -126,7 +126,7 @@ regs Kusti, 23.10.2004 /* Optional external types dependencies */ #if TINYPRINTF_DEFINE_TFP_SPRINTF -# include /* size_t */ +# include /* size_t */ #endif /* Declarations */