Browse Source

list: Fix warning

Serj Kalichev 1 year ago
parent
commit
7e7bb72109
1 changed files with 2 additions and 2 deletions
  1. 2 2
      faux/list/private.h

+ 2 - 2
faux/list/private.h

@@ -9,8 +9,8 @@ struct faux_list_node_s {
 struct faux_list_s {
 	faux_list_node_t *head;
 	faux_list_node_t *tail;
-	bool_t sorted;
-	bool_t unique;
+	faux_list_sorted_e sorted;
+	faux_list_unique_e unique;
 	faux_list_cmp_fn cmpFn; // Function to compare two list elements
 	faux_list_kcmp_fn kcmpFn; // Function to compare key and list element
 	faux_list_free_fn freeFn; // Function to properly free data field