aboutsummaryrefslogtreecommitdiff
path: root/cores
diff options
context:
space:
mode:
Diffstat (limited to 'cores')
-rw-r--r--cores/arduino/Arduino.h2
-rw-r--r--cores/arduino/WMath.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/cores/arduino/Arduino.h b/cores/arduino/Arduino.h
index 16dd759..07bccd8 100644
--- a/cores/arduino/Arduino.h
+++ b/cores/arduino/Arduino.h
@@ -239,7 +239,7 @@ void noTone(uint8_t _pin);
// WMath prototypes
long random(long);
long random(long, long);
-void randomSeed(unsigned int);
+void randomSeed(unsigned long);
long map(long, long, long, long, long);
#endif
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);