record new upstream branch
[serna.git] / debian / patches / 0007-Use-void-when-debug-outputting-a-pointer.patch
1 From e70dcc2f74b48898207dcf6b7982905787772bf1 Mon Sep 17 00:00:00 2001
2 From: Joachim Breitner <mail@joachim-breitner.de>
3 Date: Tue, 12 Jan 2010 11:29:24 +0100
4 Subject: Use (void *) when debug-outputting a pointer
5
6 ---
7  serna/docview/impl/EventTranslator.cxx |    4 ++--
8  1 files changed, 2 insertions(+), 2 deletions(-)
9
10 diff --git a/serna/docview/impl/EventTranslator.cxx b/serna/docview/impl/EventTranslator.cxx
11 index 75f2a94..d2bbd9f 100644
12 --- a/serna/docview/impl/EventTranslator.cxx
13 +++ b/serna/docview/impl/EventTranslator.cxx
14 @@ -55,7 +55,7 @@ void EventTranslator::registerEvent(const Sui::Action* action,
15                                      EventMakerPtr eventMaker)
16  {
17      DBG(DV.EVENT) << "EventTranslator: register " << action->get(NAME)
18 -                  << " maker " << (int)eventMaker << std::endl;
19 +                  << " maker " << (void *)eventMaker << std::endl;
20      (*eventMap_)[action] = eventMaker;
21  }
22  
23 @@ -138,7 +138,7 @@ void EventTranslator::registerActionExecutor(ActionExecutor* executor)
24  {
25      DBG(DV.EVENT) << "EventTranslator: register "  << executor << "/"
26                    << executor->uiAction_->get(NAME)
27 -                  << " action-executor " << (int)executor << std::endl;
28 +                  << " action-executor " << (void *)executor << std::endl;
29      (*actionExecutorMap_)[executor->uiAction()] = executor;
30      executor->eventTranslator_ = this;
31  }
32 -- 
33 1.6.6
34