From: Philippe Proulx Date: Tue, 17 Oct 2017 18:52:16 +0000 (-0400) Subject: Fix: templates.py: call bt_piecewise_rshift() with _vtype (BE) X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=b13ea096a93e2bd07a89e68fecd32485319a536d;p=deliverable%2Fbarectf.git Fix: templates.py: call bt_piecewise_rshift() with _vtype (BE) Signed-off-by: Philippe Proulx --- diff --git a/barectf/templates.py b/barectf/templates.py index 696a9dd..1f2278b 100644 --- a/barectf/templates.py +++ b/barectf/templates.py @@ -750,13 +750,13 @@ do { \\ cmask &= ~mask; \\ __ptr[this_unit] &= mask; \\ __ptr[this_unit] |= cmask; \\ - _$prefix$bt_piecewise_rshift(__v, cshift); \\ + _$prefix$bt_piecewise_rshift(_vtype, __v, cshift); \\ end -= cshift; \\ this_unit--; \\ } \\ for (; (long) this_unit >= (long) start_unit + 1; this_unit--) { \\ __ptr[this_unit] = (type) __v; \\ - _$prefix$bt_piecewise_rshift(__v, ts); \\ + _$prefix$bt_piecewise_rshift(_vtype, __v, ts); \\ end -= ts; \\ } \\ if (__start % ts) { \\