diff options
| author | Matthias Melcher <github@matthiasm.com> | 2025-03-30 00:51:34 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2025-03-30 00:51:34 +0100 |
| commit | 0eb6bb8e6d34b39399cda8b768851a3218eb7e2c (patch) | |
| tree | dfd571e3a7806cc834e6a33fa89b3878d6daffb7 /test/fractals.cxx | |
| parent | bd9d1bc03809586d81a547a7a8acce903482910b (diff) | |
Fixing a few more compiler warnings.
Diffstat (limited to 'test/fractals.cxx')
| -rw-r--r-- | test/fractals.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fractals.cxx b/test/fractals.cxx index d9cf9905f..5e3839d03 100644 --- a/test/fractals.cxx +++ b/test/fractals.cxx @@ -70,7 +70,7 @@ int main(int, char**) { # define srand48(x) (srand((x))) #elif defined __APPLE__ # define drand48() (((float) rand())/((float) RAND_MAX)) -# define srand48(x) (srand((x))) +# define srand48(x) (srand((int)(x))) #endif typedef enum { NOTALLOWED, MOUNTAIN, TREE, ISLAND, BIGMTN, STEM, LEAF, |
