Skip to content
Snippets Groups Projects
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: default avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 4eb64518
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment