return NULL;
handle = g_hash_table_lookup(ctx->trace_handles,
- (gpointer) (unsigned long) handle_id);
+ GUINT_TO_POINTER(handle_id));
if (!handle)
return NULL;
return handle->path;
return -1;
handle = g_hash_table_lookup(ctx->trace_handles,
- (gpointer) (unsigned long) handle_id);
+ GUINT_TO_POINTER(handle_id));
if (!handle) {
ret = -1;
goto end;
return -1;
handle = g_hash_table_lookup(ctx->trace_handles,
- (gpointer) (unsigned long) handle_id);
+ GUINT_TO_POINTER(handle_id));
if (!handle) {
ret = -1;
goto end;