xiaoxiang781216 opened a new pull request #896: URL: https://github.com/apache/incubator-nuttx-apps/pull/896
## Summary ``` sensortest.c: In function 'print_valu': Error: sensortest.c:161:10: error: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 161 | printf("%s: timestamp:%" PRIu64 " value:%u\n", | ^~~~~~~~~~~~~~~~~ 162 | name, event->timestamp, event->ppg); | ~~~~~~~~~~ | | | uint32_t {aka long unsigned int} sensortest.c:161:44: note: format string is defined here 161 | printf("%s: timestamp:%" PRIu64 " value:%u\n", | ~^ | | | unsigned int | %lu sensortest.c: In function 'print_gps': Error: sensortest.c:169:10: error: format '%u' expects argument of type 'unsigned int', but argument 15 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 169 | printf("%s: timestamp:%" PRIu64 " time_utc: %" PRIu64 " latitude: %f " | ^~~~~~~~~~~~~~~~~ ...... 175 | event->ground_speed, event->course, event->satellites_used); | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint32_t {aka long unsigned int} sensortest.c:172:13: note: format string is defined here 172 | " %u\n", name, event->timestamp, event->time_utc, event->latitude, | ~^ | | | unsigned int | %lu sensortest.c: In function 'print_gps_satellite': Error: sensortest.c:183:10: error: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 183 | printf("%s: timestamp: %" PRIu64 " count: %u satellites: %u", name, | ^~~~~~~~~~~~~~~~~~ 184 | event->timestamp, event->count, event->satellites); | ~~~~~~~~~~~~ | | | uint32_t {aka long unsigned int} sensortest.c:183:46: note: format string is defined here 183 | printf("%s: timestamp: %" PRIu64 " count: %u satellites: %u", name, | ~^ | | | unsigned int | %lu Error: sensortest.c:183:10: error: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 183 | printf("%s: timestamp: %" PRIu64 " count: %u satellites: %u", name, | ^~~~~~~~~~~~~~~~~~ 184 | event->timestamp, event->count, event->satellites); | ~~~~~~~~~~~~~~~~~ | | | uint32_t {aka long unsigned int} sensortest.c:183:61: note: format string is defined here 183 | printf("%s: timestamp: %" PRIu64 " count: %u satellites: %u", name, | ~^ | | | unsigned int | %lu ``` ## Impact Fix CI build break ## Testing Pass CI -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org