Skip to content

Commit

Permalink
Fixes #35
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreSenellart committed Nov 3, 2023
1 parent 70be7cf commit 69bb897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/provsql_shmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ provsqlHashEntry *entry;
static Size provsql_struct_size(void)
{
return add_size(offsetof(provsqlSharedState, wires),
mul_size(sizeof(pg_uuid_t), provsql_max_nb_gates * provsql_avg_nb_wires));
mul_size(sizeof(pg_uuid_t), ((Size) provsql_max_nb_gates) * provsql_avg_nb_wires));
}

uint32 provsql_hash_uuid(const void *key, Size s)
Expand Down

0 comments on commit 69bb897

Please sign in to comment.