From ce3611dab3f0e6ba17730b3a722aec0c48b0939d Mon Sep 17 00:00:00 2001 From: BenceJanosSzabo <bence.janos.szabo@ericsson.com> Date: Wed, 21 Sep 2016 08:57:55 +0200 Subject: [PATCH] changed %ld to %lld in select case switch printf Change-Id: I47bcf521cdc84d676cff0905ebe0a906bc280fee Signed-off-by: BenceJanosSzabo <bence.janos.szabo@ericsson.com> --- compiler2/ttcn3/Statement.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler2/ttcn3/Statement.cc b/compiler2/ttcn3/Statement.cc index 97e95f6ec..86e15fef8 100644 --- a/compiler2/ttcn3/Statement.cc +++ b/compiler2/ttcn3/Statement.cc @@ -10688,8 +10688,8 @@ error: used_numbers.add(&val->get_val()); if (!already_present) { already_present_all = false; - str = mputprintf(str, "case(%ld):\n", - (long int)(tis->get_ti_byIndex(i)->get_specific_value()->get_val_Int()->get_val())); + str = mputprintf(str, "case(%lld):\n", + tis->get_ti_byIndex(i)->get_specific_value()->get_val_Int()->get_val()); } } } else { -- GitLab