warning fixes
[lttv.git] / trunk / lttv / lttv / modules / gui / controlflow / drawing.c
index cde87124dd71e0791c23aa3a395bacc0acc861c0..46c83b6e611f4bdc074d9750f8e407c41376e267 100644 (file)
@@ -431,7 +431,7 @@ static void set_last_start(gpointer key, gpointer value, gpointer user_data)
 {
   ProcessInfo *process_info = (ProcessInfo*)key;
   HashedProcessData *hashed_process_data = (HashedProcessData*)value;
-  guint x = (guint)user_data;
+  guint x = GPOINTER_TO_UINT(user_data);
 
   hashed_process_data->x.over = x;
   hashed_process_data->x.over_used = FALSE;
@@ -467,7 +467,7 @@ void drawing_data_request_begin(EventsRequest *events_request, LttvTracesetState
           &x);
 
   g_hash_table_foreach(cfd->process_list->process_hash, set_last_start,
-                            (gpointer)x);
+                      GUINT_TO_POINTER(x));
 
 }
 
This page took 0.022571 seconds and 4 git commands to generate.