Fix: Accept bytecode of length 65536 bytes
[lttng-tools.git] / src / lib / lttng-ctl / filter / filter-visitor-generate-bytecode.c
index 98f837548f97a4afd9e40b3d50723ed27fb91cd5..332a3875a6039e449970bb9ad0b266278b55cb11 100644 (file)
@@ -239,7 +239,7 @@ int visit_node_load(struct filter_parser_ctx *ctx, struct ir_op *node)
                uint32_t insn_len = sizeof(struct load_op)
                        + sizeof(struct field_ref);
                struct field_ref ref_offset;
-               uint16_t reloc_offset;
+               uint32_t reloc_offset;
 
                insn = calloc(insn_len, 1);
                if (!insn)
This page took 0.02643 seconds and 5 git commands to generate.