mirror of
https://github.com/pellepl/spiffs.git
synced 2026-10-19 05:58:13 +00:00
Merge pull request #24 from benpicco/master
fix warning when spiffs_obj_id is 32 bit
This commit is contained in:
@@ -124,7 +124,7 @@
|
||||
#define SPIFFS_EV_IX_NEW 1
|
||||
#define SPIFFS_EV_IX_DEL 2
|
||||
|
||||
#define SPIFFS_OBJ_ID_IX_FLAG (1<<(8*sizeof(spiffs_obj_id)-1))
|
||||
#define SPIFFS_OBJ_ID_IX_FLAG ((spiffs_obj_id)(1<<(8*sizeof(spiffs_obj_id)-1)))
|
||||
|
||||
#define SPIFFS_UNDEFINED_LEN (u32_t)(-1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user