X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-filter-interpreter.c;fp=lttng-filter-interpreter.c;h=637dd68fb27c90d41144ebbead8cbbaf5e2d37bb;hb=4efe037b99629804b658b7f50c020c9f27904ceb;hp=7263ce9636f6ccb3630babe5b348d93954c6ad3f;hpb=57ba4b4152578d463e8642ec0000cd3d6114ee6f;p=lttng-modules.git diff --git a/lttng-filter-interpreter.c b/lttng-filter-interpreter.c index 7263ce96..637dd68f 100644 --- a/lttng-filter-interpreter.c +++ b/lttng-filter-interpreter.c @@ -572,7 +572,7 @@ static int dynamic_load_field(struct estack_entry *stack_top) ret = -EINVAL; goto end; } - stack_top->u.s.seq_len = SIZE_MAX; + stack_top->u.s.seq_len = LTTNG_SIZE_MAX; stack_top->u.s.literal_type = ESTACK_STRING_LITERAL_TYPE_NONE; break; @@ -1559,7 +1559,7 @@ uint64_t lttng_filter_interpret_bytecode(void *filter_data, ret = -EINVAL; goto end; } - estack_ax(stack, top)->u.s.seq_len = SIZE_MAX; + estack_ax(stack, top)->u.s.seq_len = LTTNG_SIZE_MAX; estack_ax(stack, top)->u.s.literal_type = ESTACK_STRING_LITERAL_TYPE_NONE; next_pc += sizeof(struct load_op);