Make sure that "%ld" gets a long int argument.
This commit eliminates a couple of compiler warnings of this kind:
test_fat_file.c: In function 'test_file_truncate':
test_fat_file.c:180:11: error: format '%ld' expects argument
of type 'long int', but argument 2 has type 'off_t' {aka 'int'}
[-Werror=format=]
180 | TC_PRINT("Original size of file = %ld\n", orig_pos);
Signed-off-by: Martin Åberg <martin.aberg@gaisler.com>
|
||
|---|---|---|
| .. | ||
| canbus | ||
| debug/coredump | ||
| dfu | ||
| fs | ||
| jwt | ||
| logging | ||
| mgmt/ec_host_cmd | ||
| openthread | ||
| power | ||
| settings | ||
| shell | ||
| storage | ||
| usb | ||