aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/WMath.cpp
diff options
context:
space:
mode:
authorMartino Facchin <facchinm@users.noreply.github.com>2015-05-28 10:54:26 +0200
committerMartino Facchin <facchinm@users.noreply.github.com>2015-05-28 10:54:26 +0200
commit550f8b61acd68f6f2a83dcc9455857d9659ad38f (patch)
tree9b11e6bcd4fd5390c23f90d8facaaa9630e5c5f9 /cores/arduino/WMath.cpp
parentb8787565db2abd887ec51a668a801d989112db4d (diff)
parent9dc724b9d9bafc3acb08e84bac306dbb9d0c77b3 (diff)
Merge pull request #3202 from Chris--A/randomSeed
Modified randomSeed, now uses unsigned long.
Diffstat (limited to 'cores/arduino/WMath.cpp')
-rw-r--r--cores/arduino/WMath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/WMath.cpp b/cores/arduino/WMath.cpp
index 2120c4c..214ccdc 100644
--- a/cores/arduino/WMath.cpp
+++ b/cores/arduino/WMath.cpp
@@ -27,7 +27,7 @@ extern "C" {
#include "stdlib.h"
}
-void randomSeed(unsigned int seed)
+void randomSeed(unsigned long seed)
{
if (seed != 0) {
srandom(seed);