Re: Segmentation fault in GHashTable

2005-06-24 Thread Uzytkownik
Dnia 24-06-2005, pią o godzinie 17:25 +0100, Tim Müller napisał(a): > On Friday 24 June 2005 16:59, Uzytkownik wrote: > > I've problem with GHashTable: > > (...) > > self->private->check = g_hash_table_new(g_int_hash, g_int_equal); > > g_hash_table_insert(self->private->check, GINT_TO_POINTER(3), "

Re: Segmentation fault in GHashTable

2005-06-24 Thread Tim Müller
On Friday 24 June 2005 16:59, Uzytkownik wrote: > I've problem with GHashTable: > (...) > self->private->check = g_hash_table_new(g_int_hash, g_int_equal); > g_hash_table_insert(self->private->check, GINT_TO_POINTER(3), "%%(.*)"); > (...) g_int_hash() expects a _pointer_ to an int, not an int (see

Re: Segmentation fault in GHashTable

2005-06-24 Thread David Necas (Yeti)
On Fri, Jun 24, 2005 at 05:59:37PM +0200, Uzytkownik wrote: > I've problem with GHashTable: > (...) > self->private->check = g_hash_table_new(g_int_hash, g_int_equal); > g_hash_table_insert(self->private->check, GINT_TO_POINTER(3), "%%(.*)"); > (...) > > In unit test(I use check) it show: > (...)

Segmentation fault in GHashTable

2005-06-24 Thread Uzytkownik
I've problem with GHashTable: (...) self->private->check = g_hash_table_new(g_int_hash, g_int_equal); g_hash_table_insert(self->private->check, GINT_TO_POINTER(3), "%%(.*)"); (...) In unit test(I use check) it show: (...) check-plik.c:30:E:Core:funkcja: (after this point) Received signal 11 (Segme