Fix wrong comment

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2023-02-23 21:55:59 +01:00
parent 5472242b67
commit 9a75131da1

View File

@ -48,7 +48,7 @@ void printf_long_max(const char *format, /* "%lx" or longer type */
{ {
char *expected = NULL; char *expected = NULL;
char *output = NULL; char *output = NULL;
/* "0x" plus 2 hex digits per byte */ /* 2 hex digits per byte */
const size_t n = sizeof(value) * 2; const size_t n = sizeof(value) * 2;
/* We assume that long has no padding bits! */ /* We assume that long has no padding bits! */