ttnie opened a new pull request, #1344:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1344

   
   ## Summary
   clean example pipe build warning 
   
   transfer_test.c:66:12: error: cast from pointer to integer of different size 
[-Werror=pointer-to-int-cast]
      int fd = (int)pvarg;
               ^
   transfer_test.c: In function 'transfer_writer':
   transfer_test.c:122:12: error: cast from pointer to integer of different 
size [-Werror=pointer-to-int-cast]
      int fd = (int)pvarg;
               ^
   transfer_test.c: In function 'transfer_test':
   transfer_test.c:169:58: error: cast to pointer from integer of different 
size [-Werror=int-to-pointer-cast]
      ret = pthread_create(&readerid, NULL, transfer_reader, 
(pthread_addr_t)fdin);
                                                             ^
   transfer_test.c:179:58: error: cast to pointer from integer of different 
size [-Werror=int-to-pointer-cast]
      ret = pthread_create(&writerid, NULL, transfer_writer, 
(pthread_addr_t)fdout);
                                                             ^
   transfer_test.c:202:13: error: cast from pointer to integer of different 
size [-Werror=pointer-to-int-cast]
          ret = (int)value;
                ^
   transfer_test.c:216:13: error: cast from pointer to integer of different 
size [-Werror=pointer-to-int-cast]
          tmp = (int)value;
                ^
   
   Signed-off-by: nietingting <nietingt...@xiaomi.com>
   
   ## Impact
   no
   ## Testing
   test on local 
   


-- 
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

Reply via email to