From 162fa000c8df360a28133ae254210581a4b18ef5 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 7 Jul 2009 23:54:41 +0000 Subject: [PATCH] fix for compiler warnings in mantis 337 --- src/db/dbContext.cpp | 1 - src/db/dbContextReadNotifyCache.cpp | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 ); } }