Browse code

add #include <assert.h> where missing

Nat! authored on 23-05-2016 11:43:26
Showing 3 changed files
... ...
@@ -526,7 +526,7 @@ retry:
526 526
    assert( p);
527 527
 
528 528
    max = _mulle_concurrent_hashmapstorage_get_max_n_hashs( p);
529
-   n   = (unsigned int) _mulle_atomic_pointer_read( &p->n_hashs);
529
+   n   = (unsigned int) (uintptr_t) _mulle_atomic_pointer_read( &p->n_hashs);
530 530
    
531 531
    if( n >= max)
532 532
    {
... ...
@@ -35,6 +35,7 @@
35 35
 
36 36
 #include <mulle_test_allocator/mulle_test_allocator.h>
37 37
 #include <mulle_aba/mulle_aba.h>
38
+#include <assert.h>
38 39
 #include <errno.h>
39 40
 
40 41
 
... ...
@@ -35,6 +35,7 @@
35 35
 
36 36
 #include <mulle_test_allocator/mulle_test_allocator.h>
37 37
 #include <mulle_aba/mulle_aba.h>
38
+#include <assert.h>
38 39
 #include <errno.h>
39 40
 
40 41