Fix type resolution issue with no_float enabled
@@ -99,7 +99,7 @@ fn time_diff(ts1: Instant, ts2: Instant) -> Result<Dynamic, Box<EvalAltResult>>
.into();
}
- Ok(-(seconds as INT).into())
+ Ok(Dynamic::from(-(seconds as INT)))
} else {
let seconds = (ts1 - ts2).as_secs();
