summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:29:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:29:11 +0200
commit8ca53be757b16be721dbdd334459b962b15980e1 (patch)
tree0ccf60e5b7ada2ea5569b068eb1ee18f79e9f6fb /include/tools
parente5de5696a49bec2876526fb30c49b30ff299fe6d (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Iedee28da32a4333a414e06877f87851345bb4e9b
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/debug.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/debug.hxx b/include/tools/debug.hxx
index b6e2f627fd07..cec35e3e5d98 100644
--- a/include/tools/debug.hxx
+++ b/include/tools/debug.hxx
@@ -66,7 +66,7 @@ inline DbgData* DbgGetData()
inline void DbgSaveData( const DbgData& rData )
{
- DbgFunc( DBG_FUNC_SAVEDATA, (void*)&rData );
+ DbgFunc( DBG_FUNC_SAVEDATA, const_cast<DbgData *>(&rData) );
}
inline bool DbgIsResource()