Project

General

Profile

Feature #693 ยป 0067-rand.c-Replace-NULL-with-nullptr.patch

Marko Lindqvist, 05/31/2024 07:42 AM

View differences:

utility/rand.c
int behaviourchange = 0, behavioursame = 0;
saved_state = fc_rand_state();
/* fc_srand(time(NULL)); */ /* Use current state */
/* fc_srand(time(nullptr)); */ /* Use current state */
for (i = 0; i < n + 2; i++) {
new_value = fc_rand(2);
    (1-1/1)