Revert stubbing of runas functions
[lttng-tools.git] / src / common / lttng-elf.c
index cb01f7bb7d38195ed9e214ea784bd578379677c4..cd10632ce46bbe6f9364d31d39aa15570be7fbaf 100644 (file)
        do {                                    \
                switch (sizeof(x)) {            \
                case 8:                         \
-                       x = be64toh(x);         \
+                       x = be64toh((uint64_t)x);               \
                        break;                  \
                case 4:                         \
-                       x = be32toh(x);         \
+                       x = be32toh((uint32_t)x);               \
                        break;                  \
                case 2:                         \
-                       x = be16toh(x);         \
+                       x = be16toh((uint16_t)x);               \
                        break;                  \
                case 1:                         \
                        break;                  \
This page took 0.023365 seconds and 4 git commands to generate.