xiaoxiang781216 commented on code in PR #6965: URL: https://github.com/apache/incubator-nuttx/pull/6965#discussion_r991247297
########## drivers/mtd/smart.c: ########## @@ -4709,9 +4709,9 @@ static int smart_writesector(FAR struct smart_struct_s *dev, } else { - (*((FAR uint16_t *) &header->seq))++; - if (*((FAR uint16_t *) &header->seq) == 0xffff) - *((FAR uint16_t *) &header->seq) = 1; + (*((FAR uint16_t *)&header->seq))++; + if (*((FAR uint16_t *)&header->seq) == 0xffff) + *((FAR uint16_t *)&header->seq) = 1; Review Comment: Done -- 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