From 44b821894e355d62188f955b0bf29c24fa16d910 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 7 Feb 2015 00:00:12 +0200 Subject: [PATCH] Interpret turnout delay as float, not unsigned --- source/libr2c2/dummy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libr2c2/dummy.cpp b/source/libr2c2/dummy.cpp index c28a3e1..a8efac3 100644 --- a/source/libr2c2/dummy.cpp +++ b/source/libr2c2/dummy.cpp @@ -9,7 +9,7 @@ namespace R2C2 { Dummy::Dummy(const Options &opts): power(true), - turnout_delay(opts.get("turnout_delay", 0U)*Time::sec) + turnout_delay(opts.get("turnout_delay", 0.0f)*Time::sec) { } void Dummy::set_power(bool p) -- 2.43.0