From 9dc724b9d9bafc3acb08e84bac306dbb9d0c77b3 Mon Sep 17 00:00:00 2001 From: Chris--A Date: Thu, 21 May 2015 16:52:42 +1000 Subject: Modified randomSeed, now uses unsigned long. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cores/arduino/WMath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cores/arduino/WMath.cpp') 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); -- cgit v1.2.3-18-g5258