Hi, this is the second part of the change, updating sample/convertors mask fields.
Regards.
From 69fec151d9715aadc5880374027a1ab018ed4b21 Mon Sep 17 00:00:00 2001 From: David Carlier <[email protected]> Date: Mon, 14 Mar 2016 08:42:48 +0000 Subject: [PATCH 2/2] OPTIM: sample: Update the mask fields to 64 bits type. Due to the change of ARG# macros type, this is the necessary update for handling the shiftings results properly. --- include/types/sample.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/types/sample.h b/include/types/sample.h index 4a46be8..b975f5b 100644 --- a/include/types/sample.h +++ b/include/types/sample.h @@ -280,7 +280,7 @@ struct sample_conv { int (*process)(const struct arg *arg_p, struct sample *smp, void *private); /* process function */ - unsigned int arg_mask; /* arguments (ARG*()) */ + int64_t arg_mask; /* arguments (ARG*()) */ int (*val_args)(struct arg *arg_p, struct sample_conv *smp_conv, const char *file, int line, @@ -304,7 +304,7 @@ struct sample_fetch { struct sample *smp, const char *kw, /* fetch processing function */ void *private); /* private value. */ - unsigned int arg_mask; /* arguments (ARG*()) */ + int64_t arg_mask; /* arguments (ARG*()) */ int (*val_args)(struct arg *arg_p, char **err_msg); /* argument validation function */ unsigned long out_type; /* output sample type */ -- 2.7.2

