projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use glib portable macros to convert gpointer to int
[babeltrace.git]
/
formats
/
ctf
/
events.c
diff --git
a/formats/ctf/events.c
b/formats/ctf/events.c
index d8e8d5dd1ffb1e38cbac6d90badec8f49e3fa2cb..0eb688a32c1c4966e6afaf0d19632038b9ed8fee 100644
(file)
--- a/
formats/ctf/events.c
+++ b/
formats/ctf/events.c
@@
-690,7
+690,7
@@
int bt_ctf_get_event_decl_list(int handle_id, struct bt_context *ctx,
goto error;
handle = g_hash_table_lookup(ctx->trace_handles,
-
(gpointer) (unsigned long) handle_id
);
+
GUINT_TO_POINTER(handle_id)
);
if (!handle)
goto error;
This page took
0.023496 seconds
and
4
git commands to generate.