system/lm75/lm75.c: Fix a printf format warning

This commit is contained in:
YAMAMOTO Takashi 2020-11-13 15:21:27 +09:00 committed by Xiang Xiao
parent 4f8104ca3f
commit 36819dbad9

View File

@ -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;
} }