There is an ambiguity issue with the output of integral-constants. This MR adds an explicit cast to make this work.