diff --git a/libretro-db/bintree.c b/libretro-db/bintree.c index 1a19010d78..6015f413a0 100644 --- a/libretro-db/bintree.c +++ b/libretro-db/bintree.c @@ -43,8 +43,7 @@ struct bintree bintree_cmp_func cmp; }; -/* TODO/FIXME - static global variable */ -static void *NIL_NODE = &NIL_NODE; +static void * const NIL_NODE = (void*)&NIL_NODE; static struct bintree_node *bintree_new_nil_node( struct bintree_node *parent)