shithub: aubio

Download patch

ref: e7edf9286e9966e4207f269248f871b72b25f1af
parent: 6a91a9d4d64bc39695bd91207d3413290d5f1769
author: Paul Brossier <piem@piem.org>
date: Wed Nov 28 19:46:31 EST 2018

[tests] srandom take unsigned int

--- a/tests/utils_tests.h
+++ b/tests/utils_tests.h
@@ -65,7 +65,7 @@
   size_t **tm_address = (void*)&tm_struct;
   int seed = tm_struct->tm_sec + (size_t)tm_address;
   //PRINT_WRN("current seed: %d\n", seed);
-  srandom (seed);
+  srandom ((unsigned int)seed);
 }
 
 // create_temp_sink / close_temp_sink