pkarashchenko commented on code in PR #1340: URL: https://github.com/apache/incubator-nuttx-apps/pull/1340#discussion_r992257807
########## examples/elf/tests/mutex/mutex.c: ########## @@ -103,7 +103,7 @@ int main(int argc, char **argv) printf("Starting thread 1\n"); bendoftest = false; - if ((pthread_create(&thread1, NULL, (void*)thread_func, (void*)1)) != 0) + if ((pthread_create(&thread1, NULL, (void *)thread_func, (void *)1)) != 0) Review Comment: Can we fix ling line warning at line 45? ########## examples/apds9960/apds9960_main.c: ########## @@ -64,7 +64,7 @@ int main(int argc, FAR char *argv[]) while (1) { - nbytes = read(fd, (void *)&gest, sizeof(gest)); + nbytes = read(fd, &gest, sizeof(gest)); Review Comment: @xiaoxiang781216 do you know why style check reports error at like 56? -- 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