Fix two compiler warnings

This commit is contained in:
Linus Dierheimer
2022-09-15 12:10:48 +02:00
parent acba1d29d9
commit e98c18a64b
2 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ typedef char KeyType[33]; //32 byte key + \0
void ffValuestoreInit(FFvaluestore* vs, uint32_t valueSize)
{
ffListInit(vs, sizeof(KeyType) + valueSize);
ffListInit(vs, (uint32_t) (sizeof(KeyType) + valueSize));
}
void* ffValuestoreGet(FFvaluestore* vs, const char* key)