projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ust-consumer: Add channel key to error msg on channel clear
[lttng-tools.git]
/
src
/
common
/
lttng-elf.c
diff --git
a/src/common/lttng-elf.c
b/src/common/lttng-elf.c
index 52e05f0c6fe825f60a465aabe49d39f653140e88..cd10632ce46bbe6f9364d31d39aa15570be7fbaf 100644
(file)
--- a/
src/common/lttng-elf.c
+++ b/
src/common/lttng-elf.c
@@
-56,13
+56,13
@@
do { \
switch (sizeof(x)) { \
case 8: \
do { \
switch (sizeof(x)) { \
case 8: \
- x = be64toh(
x);
\
+ x = be64toh(
(uint64_t)x);
\
break; \
case 4: \
break; \
case 4: \
- x = be32toh(
x);
\
+ x = be32toh(
(uint32_t)x);
\
break; \
case 2: \
break; \
case 2: \
- x = be16toh(
x);
\
+ x = be16toh(
(uint16_t)x);
\
break; \
case 1: \
break; \
break; \
case 1: \
break; \
@@
-861,7
+861,7
@@
int lttng_elf_get_symbol_offset(int fd, char *symbol, uint64_t *offset)
*/
ret = lttng_elf_convert_addr_in_text_to_offset(elf, addr, offset);
if (ret) {
*/
ret = lttng_elf_convert_addr_in_text_to_offset(elf, addr, offset);
if (ret) {
- DBG("Cannot convet addr to offset.");
+ DBG("Cannot conve
r
t addr to offset.");
goto free_string_table_data;
}
goto free_string_table_data;
}
This page took
0.037032 seconds
and
5
git commands to generate.