From 9d7a67da1fc226035f2db52868400394ceba20ab Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Fri, 20 Jan 2017 13:24:53 +0100 Subject: executor: fix warning regarding type cast in STORE_BY_BITMASK --- executor/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor') diff --git a/executor/common.h b/executor/common.h index 5c5bb1032..f2d4487a3 100644 --- a/executor/common.h +++ b/executor/common.h @@ -164,7 +164,7 @@ static void install_segv_handler() #define STORE_BY_BITMASK(type, addr, val, bf_off, bf_len) \ if ((bf_off) == 0 && (bf_len) == 0) { \ - *(type*)(addr) = (val); \ + *(type*)(addr) = (type)(val); \ } else { \ type new_val = *(type*)(addr); \ new_val &= ~BITMASK_LEN_OFF(type, (bf_off), (bf_len)); \ -- cgit mrf-deployment