projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Port: Add posix_fallocate compat for mingw
[babeltrace.git]
/
plugins
/
ctf
/
common
/
metadata
/
parser.y
diff --git
a/plugins/ctf/common/metadata/parser.y
b/plugins/ctf/common/metadata/parser.y
index eb9c75543b239c4db0b6e403c283499f8f4469ef..24cc902a614ddc939d0693a00150471caf7648b9 100644
(file)
--- a/
plugins/ctf/common/metadata/parser.y
+++ b/
plugins/ctf/common/metadata/parser.y
@@
-330,7
+330,7
@@
static int lookup_type(struct ctf_scanner_scope *s, const char *id)
{
int ret;
- ret =
(int) (long) g_hash_table_lookup(s->types, id
);
+ ret =
GPOINTER_TO_INT(g_hash_table_lookup(s->types, id)
);
printf_debug("lookup %p %s %d\n", s, id, ret);
return ret;
}
This page took
0.02333 seconds
and
4
git commands to generate.