mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Typecasting to int to resolve warning:#68-D: integer conversion resulted in a change of sign
							parent
							
								
									f31ea01237
								
							
						
					
					
						commit
						818f82c5bd
					
				| 
						 | 
				
			
			@ -2392,7 +2392,7 @@ static int32_t cfstore_delete_ex(cfstore_area_hkvt_t* hkvt)
 | 
			
		|||
    memset(ctx->area_0_tail-kv_size, 0, kv_size);
 | 
			
		||||
 | 
			
		||||
    /* The KV area has shrunk so a negative size_diff should be indicated to cfstore_file_update(). */
 | 
			
		||||
    ret = cfstore_file_update(hkvt->head, -1 * kv_size);
 | 
			
		||||
    ret = cfstore_file_update(hkvt->head, -1 *(int32_t)kv_size);
 | 
			
		||||
    if(ret < ARM_DRIVER_OK){
 | 
			
		||||
        CFSTORE_ERRLOG("%s:Error:file update failed\n", __func__);
 | 
			
		||||
        goto out0;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue