Searched hist:"079 fc516efb9e0017b9ae66d558f2cdb423caaa6" (Results 1 – 1 of 1) sorted by relevance
/openbmc/obmc-console/ |
H A D | console-server.c | diff 079fc516efb9e0017b9ae66d558f2cdb423caaa6 Tue Jul 09 02:21:56 CDT 2024 Andrew Jeffery <andrew@codeconstruct.com.au> console-server: Fix printf() format string for discovered handlers
GCC reports the following on ARM:
``` ../../../../../../workspace/sources/obmc-console/console-server.c: In function 'handlers_init': ../../../../../../workspace/sources/obmc-console/console-server.c:549:19: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Werror=format=] 549 | printf("%ld handler type%s\n", n_types, n_types == 1 ? "" : "s"); | ~~^ ~~~~~~~ | | | | long int size_t {aka unsigned int} | %d ```
Change-Id: Ib40f2e0576588d8dbd6fd38c4e969a1749c18538 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
|