Changeset e7edf92


Ignore:
Timestamp:
Nov 29, 2018, 12:46:31 AM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
Children:
d94afb3
Parents:
6a91a9d
Message:

[tests] srandom take unsigned int

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/utils_tests.h

    r6a91a9d re7edf92  
    6666  int seed = tm_struct->tm_sec + (size_t)tm_address;
    6767  //PRINT_WRN("current seed: %d\n", seed);
    68   srandom (seed);
     68  srandom ((unsigned int)seed);
    6969}
    7070
Note: See TracChangeset for help on using the changeset viewer.