xiaoxiang781216 commented on code in PR #19568:
URL: https://github.com/apache/nuttx/pull/19568#discussion_r3665502213


##########
drivers/syslog/syslog_write.c:
##########
@@ -215,7 +215,7 @@ ssize_t syslog_write_foreach(FAR const char *buffer,
        * number of bytes written to any existing channel.
        */
 
-      if (nwritten > nwritten_max)
+      if ((ssize_t)nwritten > nwritten_max)

Review Comment:
   let's change nwritten type to ssize_t



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to