diff options
Diffstat (limited to 'lib/gl_anytree_oset.h')
-rw-r--r-- | lib/gl_anytree_oset.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gl_anytree_oset.h b/lib/gl_anytree_oset.h index 53c877505a..9945cfc71e 100644 --- a/lib/gl_anytree_oset.h +++ b/lib/gl_anytree_oset.h @@ -32,8 +32,7 @@ static gl_oset_t gl_tree_create_empty (gl_oset_implementation_t implementation, gl_setelement_compar_fn compar_fn) { - struct gl_oset_impl *set = - (struct gl_oset_impl *) xmalloc (sizeof (struct gl_oset_impl)); + struct gl_oset_impl *set = XMALLOC (struct gl_oset_impl); set->base.vtable = implementation; set->base.compar_fn = compar_fn; |