From: K.Kosako Date: Thu, 10 Oct 2019 06:14:25 +0000 (+0900) Subject: fix output format of print_compiled_byte_code() X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d0473aabfd7291ce5b01bd1e045f903456e83a6;p=onig fix output format of print_compiled_byte_code() --- diff --git a/src/regexec.c b/src/regexec.c index b6164b6..29c5293 100644 --- a/src/regexec.c +++ b/src/regexec.c @@ -395,7 +395,7 @@ print_compiled_byte_code(FILE* f, regex_t* reg, int index, GET_CODE_POINT(ncode, codes); codes++; GET_CODE_POINT(code, codes); - fprintf(f, ":%u:%u", code, ncode); + fprintf(f, ":%d:0x%x", ncode, code); } break; case OP_CCLASS_MIX: