diff --git a/core/wrap.c b/core/wrap.c index 62c4f27d..cb22e1e2 100644 --- a/core/wrap.c +++ b/core/wrap.c @@ -121,6 +121,7 @@ DstValue dst_wrap_boolean(int x) { DstValue dst_wrap_##NAME(TYPE x) {\ DstValue y;\ y.type = DTYPE;\ + y.as.u64 = 0; /* zero other bits in case of 32 bit integer */ \ y.as.UM = x;\ return y;\ }