Browse Source
../../Tools/CPUInfo/CPUInfo.cpp:21:54: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] hal.console->printf("char : %d\n", sizeof(char)); ^ And so on. Ideally for sizeof() which returns size_t we would use %zu, but that's not implemented by our version of printf. So use %lu which should be ok in all of our boards.master
1 changed files with 7 additions and 7 deletions
Loading…
Reference in new issue