You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2023/01/13 11:36:34 UTC

[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #8107: Fix build warnings

pkarashchenko commented on code in PR #8107:
URL: https://github.com/apache/nuttx/pull/8107#discussion_r1069297582


##########
drivers/eeprom/i2c_xx24xx.c:
##########
@@ -472,7 +472,7 @@ static off_t ee24xx_seek(FAR struct file *filep, off_t offset, int whence)
     {
       filep->f_pos = newpos;
       ret = newpos;
-      finfo("SEEK newpos %d\n", newpos);
+      finfo("SEEK newpos %ld\n", (long)newpos);

Review Comment:
   I think we have `PRIdOFF`



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