X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf-text%2Fctf-text.c;fp=formats%2Fctf-text%2Fctf-text.c;h=f4cdf105d4f7938bf9ad3219b228e44998fe64cb;hp=69450cf5f13fe009745be245e6a4975f8401ea2a;hb=5b44aff250d4510f7e96447ddc77f0e3ff3f1739;hpb=b04abc0d33636acfb49feaf77284915eb500a885 diff --git a/formats/ctf-text/ctf-text.c b/formats/ctf-text/ctf-text.c index 69450cf5..f4cdf105 100644 --- a/formats/ctf-text/ctf-text.c +++ b/formats/ctf-text/ctf-text.c @@ -136,7 +136,7 @@ struct ctf_callsite_dups *ctf_trace_callsite_lookup(struct ctf_trace *trace, GQuark callsite_name) { return g_hash_table_lookup(trace->callsites, - (gpointer) (unsigned long) callsite_name); + GUINT_TO_POINTER(callsite_name)); } void bt_ctf_text_hook(void)