We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f31ea01 commit 818f82cCopy full SHA for 818f82c
features/storage/FEATURE_STORAGE/cfstore/source/configuration_store.c
@@ -2392,7 +2392,7 @@ static int32_t cfstore_delete_ex(cfstore_area_hkvt_t* hkvt)
2392
memset(ctx->area_0_tail-kv_size, 0, kv_size);
2393
2394
/* The KV area has shrunk so a negative size_diff should be indicated to cfstore_file_update(). */
2395
- ret = cfstore_file_update(hkvt->head, -1 * kv_size);
+ ret = cfstore_file_update(hkvt->head, -1 *(int32_t)kv_size);
2396
if(ret < ARM_DRIVER_OK){
2397
CFSTORE_ERRLOG("%s:Error:file update failed\n", __func__);
2398
goto out0;
0 commit comments