Review fixes

This commit is contained in:
Alexandre Paillier
2022-10-26 14:15:09 +02:00
parent 4af091f326
commit 174d35782f
5 changed files with 7 additions and 5 deletions

View File

@@ -136,7 +136,7 @@ static bool path_depth_list_push(void) {
* @return pointer to the hashing context
*/
static cx_sha3_t *get_last_hash_ctx(void) {
return (cx_sha3_t *) mem_alloc(0) - 1;
return ((cx_sha3_t *) mem_alloc(0)) - 1;
}
/**