Fix: templates.py: call bt_piecewise_rshift() with _vtype (BE)
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 17 Oct 2017 18:52:16 +0000 (14:52 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 17 Oct 2017 18:52:16 +0000 (14:52 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
barectf/templates.py

index 696a9ddb338797e827c46d609bbbc11065b08822..1f2278bb767c2b65fa99ccf1bed22fbcfb48e21b 100644 (file)
@@ -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) {                                             \\
This page took 0.023553 seconds and 4 git commands to generate.