convert from svn repository: remove tags directory
[lttv.git] / trunk / lttv / lttv / modules / gui / resourceview / processlist.c
index dec03cfca844507654a95e53ffd8f6142be0b667..ee24ba65600ac126780b69be3780214f49b5a7c5 100644 (file)
@@ -246,9 +246,9 @@ void update_pixmap_size(ProcessList *process_list, guint width)
 {
   int i;
   for(i=0; i<RV_RESOURCE_COUNT; i++) {
-    g_hash_table_foreach(process_list->restypes[i].hash_table, 
-                       (GHFunc)update_pixmap_size_each,
-                       (gpointer)width);
+    g_hash_table_foreach(process_list->restypes[i].hash_table,
+                        (GHFunc)update_pixmap_size_each,
+                        GUINT_TO_POINTER(width));
   }
 }
 
@@ -693,6 +693,7 @@ HashedResourceData *resourcelist_obtain_generic(ControlFlowData *resourceview_da
   /* Prepare hash key */
   ru->ru.type = &(resourceview_data->process_list->restypes[res_type]);
   ru->trace_num = trace_num;
+  g_assert(id != -1);
   ru->id = id;
   
   /* Search within hash table */
This page took 0.022778 seconds and 4 git commands to generate.