{
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));
}
}
/* 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 */