From b596c18689cdba7867ae1a5602adc6feb16e64ce Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 16 Feb 2018 18:12:59 +0100 Subject: [PATCH] bool2bit_tmpl(): Fix for '?' template case Change-Id: I6dd3c4afdf61689a23aefc277a70cf298cb24c96 --- library/Osmocom_Types.ttcn | 1 + 1 file changed, 1 insertion(+) diff --git a/library/Osmocom_Types.ttcn b/library/Osmocom_Types.ttcn index a736e95a5..ab5c098d0 100644 --- a/library/Osmocom_Types.ttcn +++ b/library/Osmocom_Types.ttcn @@ -83,6 +83,7 @@ function bool2bit_tmpl(template boolean inp) return template BIT1 { } else if (istemplatekind(inp, "*")) { return *; } else if (istemplatekind(inp, "?")) { + return ?; } else { if (valueof(inp)) { return '1'B;