Commit c522aeb5 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

enums need to be casted to int before passed to va_start.


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 4eb64518
......@@ -96,7 +96,7 @@ void def_encdec(const char *p_classname,
" TTCN_Buffer& p_buf, TTCN_EncDec::coding_t p_coding, ...) const\n"
"{\n"
" va_list pvar;\n"
" va_start(pvar, p_coding);\n"
" va_start(pvar, (int)p_coding);\n"
" switch(p_coding) {\n"
" case TTCN_EncDec::CT_BER: {\n"
" TTCN_EncDec_ErrorContext ec(\"While BER-encoding type"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment