system/lm75/lm75.c: Fix a printf format warning
This commit is contained in:
parent
4f8104ca3f
commit
36819dbad9
@ -236,8 +236,8 @@ int main(int argc, FAR char *argv[])
|
|||||||
|
|
||||||
if (nbytes != sizeof(b16_t))
|
if (nbytes != sizeof(b16_t))
|
||||||
{
|
{
|
||||||
fprintf(stderr, "ERROR: Unexpected read size: %Ld vs %d\n",
|
fprintf(stderr, "ERROR: Unexpected read size: %zd vs %zd\n",
|
||||||
(long)nbytes, sizeof(b16_t));
|
nbytes, sizeof(b16_t));
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user