diff --git a/src/db/dbContext.cpp b/src/db/dbContext.cpp index cb7b17b8d..cb0e40466 100644 --- a/src/db/dbContext.cpp +++ b/src/db/dbContext.cpp @@ -33,7 +33,6 @@ #include "caerr.h" // should be eliminated here in the future #include "epicsEvent.h" #include "epicsThread.h" -#include "epicsSingleton.h" #define epicsExportSharedSymbols #include "db_access_routines.h" diff --git a/src/db/dbContextReadNotifyCache.cpp b/src/db/dbContextReadNotifyCache.cpp index ed056523b..5067f1646 100644 --- a/src/db/dbContextReadNotifyCache.cpp +++ b/src/db/dbContextReadNotifyCache.cpp @@ -155,8 +155,9 @@ void dbContextReadNotifyCacheAllocator::show ( unsigned level ) const pNext = _pReadNotifyCache->pNext; count++; } - printf ( "\tcount %u and size %lu\n", - count, _readNotifyCacheSize ); + printf ( "\tcount %lu and size %lu\n", + static_cast < unsigned long > ( count ), + _readNotifyCacheSize ); } }