# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1672448040 0 # Node ID 6d3da42f63af5d26514c967a59ffb4f0147ba886 # Parent 3cdb02171b0148256c3b825aca810500988edef8 C++: Fix a couple issues reported by GCC 6 on PPC Mac. diff -r 3cdb02171b01 -r 6d3da42f63af dwtestoo.cpp --- a/dwtestoo.cpp Sat Dec 31 00:41:28 2022 +0000 +++ b/dwtestoo.cpp Sat Dec 31 00:54:00 2022 +0000 @@ -468,7 +468,7 @@ } // Thread and Event functions - void UpdateMLE(DW::MLE *threadmle, char *text, DW::Mutex *mutex) + void UpdateMLE(DW::MLE *threadmle, const char *text, DW::Mutex *mutex) { static unsigned int pos = 0; @@ -488,7 +488,7 @@ UpdateMLE(threadmle, buf, mutex); // Increment the ready count while protected by mutex - dw_mutex_lock(mutex); + mutex->Lock(); ready++; // If all 4 threads have incrememted the ready count... // Post the control event semaphore so things will get started.