Oops. Fix build
This commit is contained in:
parent
9e288d29d8
commit
4e09fb8f7a
|
@ -69,7 +69,7 @@ test_map_userdata (void)
|
||||||
hb_user_data_key_t key[2];
|
hb_user_data_key_t key[2];
|
||||||
int *data = (int *) malloc (sizeof (int));
|
int *data = (int *) malloc (sizeof (int));
|
||||||
*data = 3123;
|
*data = 3123;
|
||||||
hb_map_set_user_data (m, &key[0], data, free, true);
|
hb_map_set_user_data (m, &key[0], data, free, TRUE);
|
||||||
g_assert_cmpint (*((int *) hb_map_get_user_data (m, &key[0])), ==, 3123);
|
g_assert_cmpint (*((int *) hb_map_get_user_data (m, &key[0])), ==, 3123);
|
||||||
|
|
||||||
int *data2 = (int *) malloc (sizeof (int));
|
int *data2 = (int *) malloc (sizeof (int));
|
||||||
|
|
Loading…
Reference in New Issue