From 7d5eee8c8df2c135af098f1399d569c659d9b9cc Mon Sep 17 00:00:00 2001 From: dschlaep Date: Tue, 5 Dec 2017 10:47:18 -0500 Subject: [PATCH] Eliminate compile warnings - eliminate compile warnings * warning: assignment makes integer from pointer without a cast [-Wint-conversion] --- SW_Output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SW_Output.c b/SW_Output.c index 22986b9d4..dca0c6c95 100644 --- a/SW_Output.c +++ b/SW_Output.c @@ -3818,8 +3818,8 @@ static void sumof_ves(SW_VEGESTAB *v, SW_VEGESTAB_OUTPUTS *s, OutKey k) tmp1 = (int) v->count + (int) k; tmp1 += tmp1; - tmp2 = (TimeInt) s->days; - tmp2 += tmp2; + tmp2 = *(s->days); + tmp2 = tmp2; return; }