diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2012-02-08 20:32:09 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2012-02-08 20:32:09 +0000 |
| commit | d659a2076f730e5bbfc5b191d6502d0fb90c320d (patch) | |
| tree | 12cfb814c53796af0850e6b70239ccb851ea5a4d /src/dom/util/thread.cpp | |
| parent | Patch from lp 819209 to fix python extensions on OSX Lion (diff) | |
| download | inkscape-d659a2076f730e5bbfc5b191d6502d0fb90c320d.tar.gz inkscape-d659a2076f730e5bbfc5b191d6502d0fb90c320d.zip | |
(cppcheck and janitorial tasks:) C-style casting to C++-style casting
(bzr r10952)
Diffstat (limited to '')
| -rw-r--r-- | src/dom/util/thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dom/util/thread.cpp b/src/dom/util/thread.cpp index e8c06c850..d5368ef59 100644 --- a/src/dom/util/thread.cpp +++ b/src/dom/util/thread.cpp @@ -52,7 +52,7 @@ namespace util static DWORD WINAPI WinThreadFunction(LPVOID context) { - Thread *thread = (Thread *)context; + Thread *thread = static_cast<Thread *>(context); thread->execute(); return 0; } @@ -81,7 +81,7 @@ void Thread::sleep(unsigned long millis) void *PthreadThreadFunction(void *context) { - Thread *thread = (Thread *)context; + Thread *thread = static_cast<Thread *>(context); thread->execute(); return NULL; } |
