summaryrefslogtreecommitdiff
path: root/include/services.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/services.h')
-rw-r--r--include/services.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/services.h b/include/services.h
index a2c9db2ab..25e9528c8 100644
--- a/include/services.h
+++ b/include/services.h
@@ -328,7 +328,7 @@ class CoreExport Extensible
* the return value is a std::pair of an iterator to the
* element, and a bool saying if it was actually inserted.
*/
- return this->Extension_Items.insert(std::make_pair(key, static_cast<char *>(p))).second;
+ return this->Extension_Items.insert(std::make_pair(key, reinterpret_cast<char *>(p))).second;
}
/** Extend an Extensible class.