esp-idf/components/fatfs/vfs
John aaf35889b6 Change placeholder in ESP_LOGD conditionally depending on FF_FS_EXFAT
In case of using EXFAT by setting in ffconf.h:
the type FSIZE_t is changing from 4 to 8 bytes.

As a result,  ESP_LOGD() in vfs_fat_lseek() does not compile:
error: format '%d' expects argument of type 'int', but argument 8 has type 'FSIZE_t' {aka 'long long unsigned int'} [-Werror=format=]
     ESP_LOGD(TAG, "%s: offset=%ld, filesize:=%d", __func__, new_pos, f_size(file));

To solve the problem we need to change %d with %lld conditionally, depending on FF_FS_EXFAT.

Closes https://github.com/espressif/esp-idf/pull/9361
2022-07-22 16:52:14 +01:00
..
esp_vfs_fat.h Merge branch 'fix/ff_sdmmc_status_check_optional' into 'master' 2022-06-13 14:42:12 +08:00
vfs_fat.c Change placeholder in ESP_LOGD conditionally depending on FF_FS_EXFAT 2022-07-22 16:52:14 +01:00
vfs_fat_internal.h fatfs: separate IDF-specific files from the original FatFS code 2019-06-25 23:05:16 +08:00
vfs_fat_sdmmc.c Merge branch 'fix/ff_sdmmc_status_check_optional' into 'master' 2022-06-13 14:42:12 +08:00
vfs_fat_spiflash.c change: renamed FATFS convenience mounting functions 2022-04-11 08:44:40 +00:00