You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "xiaoxiang781216 (via GitHub)" <gi...@apache.org> on 2023/06/26 02:21:19 UTC

[GitHub] [nuttx-apps] xiaoxiang781216 commented on a diff in pull request #1807: nshlib/dd: Increase the integer width for sector size in dd.

xiaoxiang781216 commented on code in PR #1807:
URL: https://github.com/apache/nuttx-apps/pull/1807#discussion_r1241401561


##########
nshlib/nsh_ddcmd.c:
##########
@@ -92,7 +92,7 @@ struct dd_s
 static int dd_write(FAR struct dd_s *dd)
 {
   FAR uint8_t *buffer = dd->buffer;
-  uint16_t written ;
+  size_t written ;

Review Comment:
   ```suggestion
     size_t written;
   ```



-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org