aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/WMath.cpp
diff options
context:
space:
mode:
authorChris--A <chris@genx.biz>2015-05-21 16:52:42 +1000
committerChris--A <chris@genx.biz>2015-05-21 16:52:42 +1000
commit9dc724b9d9bafc3acb08e84bac306dbb9d0c77b3 (patch)
tree01aca9e01cd9ba220b65e0d84d0cb5dadb239551 /cores/arduino/WMath.cpp
parentb40f171220b46e63165deaffc497c080e98f041a (diff)
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);