The randSeed() argument type is different in the header and source files.
marksard opened this issue · 2 comments
marksard commented
Hello, I am trying to use randSeed() and I am getting a link error.
When I tried to use randSeed() I was getting a link error.
The reason is that the type of randSeed is different in mozzi_rand.h and mozzi_rand.cpp. xorshiftSeed was also the same.
mozzi_rand.h
- void randSeed(unsigned long seed);
- void xorshiftSeed(unsigned long seed);
mozzi_rand.cpp
- void randSeed(long seed);
- void xorshiftSeed(long seed);
I am grateful for your projects.
Thanks in advance.
sensorium commented
Thanks for that. Changed them to unsigned long. Does it work now?
marksard commented
Thanks!
I was able to build it. And it works now.