nkaje opened a new pull request #2018: trng_test: fix compile time warnings URL: https://github.com/apache/mynewt-core/pull/2018 While building for simulator on Linux, the following warnings were observed. ****************************************************************** error: format ‘%ld’ expects argument of type ‘long int’, \ but argument 2 has type ‘uint32_t {aka unsigned int}’ \ [-Werror=format=] console_printf("monobit: (%ld/%d) %f, \ block4: (%ld/%d) %f, block8: (%ld/%d) %f\n", ****************************************************************** Cast blksz, monobit_fails, block4_fails and block8_fails variables when using in console_printf(). This change builds makes the test compatible for the simulator as well as da1469x-dk-pro. Signed-off-by: Naveen Kaje <[email protected]>
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
