Skip to content

Commit

Permalink
CELIX-289: fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bpetri committed Nov 11, 2015
1 parent 4f6b0c0 commit 9ed4837
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions utils/private/test/celix_threads_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ static void * thread_test_func_exit(void *) {
*pi = 666;

celixThread_exit(pi);
return NULL;
}

static void * thread_test_func_detach(void *) {
Expand Down
8 changes: 4 additions & 4 deletions utils/private/test/hash_map_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,10 @@ TEST(hash_map, create){
CHECK(map != NULL);
LONGS_EQUAL(0, map->size);
// This fails on windows due to dllimport providing a proxy for exported functions.
CHECK_EQUAL(hashMap_equals, map->equalsKey);
CHECK_EQUAL(hashMap_equals, map->equalsValue);
CHECK_EQUAL(hashMap_hashCode, map->hashKey);
CHECK_EQUAL(hashMap_hashCode, map->hashValue);
CHECK_EQUAL(&hashMap_equals, map->equalsKey);
CHECK_EQUAL(&hashMap_equals, map->equalsValue);
CHECK_EQUAL(&hashMap_hashCode, map->hashKey);
CHECK_EQUAL(&hashMap_hashCode, map->hashValue);
}

TEST(hash_map, size){
Expand Down

0 comments on commit 9ed4837

Please sign in to comment.