xiaoxiang781216 commented on code in PR #7491: URL: https://github.com/apache/incubator-nuttx/pull/7491#discussion_r1009744969
########## net/sixlowpan/sixlowpan_internal.h: ########## @@ -103,15 +103,15 @@ /* GET 16-bit data: source in network order */ #define GETUINT16(ptr,index) \ - ((((uint16_t)((ptr)[index])) << 8) | ((uint16_t)(((ptr)[(index) + 1])))) + ((uint16_t)(((ptr)[index] << 8) | (ptr)[(index) + 1])) Review Comment: Ack. -- 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