mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-04 22:00:25 +00:00
system/lm75/lm75.c: Fix a printf format warning
This commit is contained in:
parent
4f8104ca3f
commit
36819dbad9
1 changed files with 2 additions and 2 deletions
|
|
@ -236,8 +236,8 @@ int main(int argc, FAR char *argv[])
|
|||
|
||||
if (nbytes != sizeof(b16_t))
|
||||
{
|
||||
fprintf(stderr, "ERROR: Unexpected read size: %Ld vs %d\n",
|
||||
(long)nbytes, sizeof(b16_t));
|
||||
fprintf(stderr, "ERROR: Unexpected read size: %zd vs %zd\n",
|
||||
nbytes, sizeof(b16_t));
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue