Skip to content

Commit

Permalink
fix: int -> i32
Browse files Browse the repository at this point in the history
  • Loading branch information
iWas-Coder committed Dec 5, 2024
1 parent 942598e commit 0e1508b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/carbon_math.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ void carbon_math_srand(u64 seed) {
carbon_math__rand_seed = seed - 1;
}

int carbon_math_rand(void) {
i32 carbon_math_rand(void) {
carbon_math__rand_seed = CARBON_PCG_RAND_MAGIC * carbon_math__rand_seed + 1;
return carbon_math__rand_seed >> 33;
}
Expand Down

0 comments on commit 0e1508b

Please sign in to comment.