﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5112	Template optInitValFMU in CodegenFMU.tpl generates wrong code for integers	tknodt@…	Adrian Pop	"I was wondering that I get constant overflow warnings when compiling a FMU for win32.
Warning when compiling (this should IMHO be an error):
  XXX_init_fmu.c:7757:55: warning: overflow in implicit constant conversion [-Woverflow]
   modelData->integerParameterData[17].attribute.min = -DBL_MAX;

The bug is in {{{CodegenFMU.tpl}}}, where the template {{{optInitValFMU}}} uses {{{-DBL_MAX}}} and {{{DBL_MAX}}} for {{{min}}} and {{{max}}} for the data type integer.
This has to be replaced by {{{LONG_MIN}}} and {{{LONG_MAX}}}."	defect	closed	high	Future	FMI	v1.13.0-dev-nightly	fixed		
