]> git.sesse.net Git - vlc/blobdiff - src/test/dictionary.c
macosx: Fix controller playlist toggling to use the contentRect and not the window...
[vlc] / src / test / dictionary.c
index 62feb36bd15a8c1ef455bff0ff56b7e16c7670d9..b0d9644b7b0135f7bc17ed317dda30cf9616da95 100644 (file)
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#undef NDEBUG
+#include <assert.h>
+
+#include <vlc_common.h>
 #include "vlc_arrays.h"
 
 #include <stdio.h>
@@ -39,12 +42,12 @@ static void test_dictionary_validity (vlc_dictionary_t * p_dict, const char ** o
 
     for( j = 0; keys[j]; j++ )
     {
-        vlc_bool_t found = VLC_FALSE;
+        bool found = false;
         for( i = 0; i < size; i++ )
         {
             if(!strcmp( keys[j], our_keys[i] ))
             {
-                found = VLC_TRUE;
+                found = true;
                 break;
             }
         }