diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2016-09-05 11:21:10 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2016-09-05 11:21:10 +0300 |
commit | 7d02bc6127d2a7ba2453cddebd810f0dc08de9e0 (patch) | |
tree | c48bb21dc8aab61765d1c0f0c527add6479de642 /test | |
parent | e458b2912bc8fd27f4afc720d4f5989c8d9dc9ab (diff) |
Fixed various warnings. Build time is also now tractable on my fairly ancient laptop after I severely pruned the default build targets down to the bare minimum.
Diffstat (limited to 'test')
m--------- | test/kerneltest | 0 | ||||
-rw-r--r-- | test/tests/shared_fs_mutex.cpp | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/test/kerneltest b/test/kerneltest -Subproject bddb8569025517ac3a21500db092396b99f0c4f +Subproject 4527be18e3d44a68e547279a425b63d0e87c81f diff --git a/test/tests/shared_fs_mutex.cpp b/test/tests/shared_fs_mutex.cpp index 2d6675d9..f49a3aac 100644 --- a/test/tests/shared_fs_mutex.cpp +++ b/test/tests/shared_fs_mutex.cpp @@ -287,7 +287,7 @@ static auto TestSharedFSMutexCorrectnessChildWorker = BOOST_KERNELTEST_V1_NAMESP if(oldval != 0) return "Child " + std::to_string(childidx) + " holding exclusive lock yet " + std::to_string(oldval) + " users hold the shared lock!"; oldval = shmem->current_exclusive.exchange(-1); - if(oldval != childidx) + if(oldval != (long) childidx) return "Child " + std::to_string(childidx) + " released exclusive lock to find child " + std::to_string(oldval) + " had stolen my lock!"; } else if(shmem->testtype == shared_memory::test_type::shared || shmem->testtype == shared_memory::test_type::both) |