diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 18:58:23 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:09:17 +0100 |
commit | 6a6991ed2ea628da2a7bf43a07963803445e85a9 (patch) | |
tree | 4bd7b89eaf4c68d05a923a56cab987fb5880a6dc /bridges/source/jni_uno/jni_base.h | |
parent | c3fb36ed26a6c8dce0a8026ef8b75190955d2443 (diff) |
Clean up C-style casts from pointers to void
Change-Id: I5c0372bce2564e58c78daf544cfcb106387c6894
Diffstat (limited to 'bridges/source/jni_uno/jni_base.h')
-rw-r--r-- | bridges/source/jni_uno/jni_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/jni_uno/jni_base.h b/bridges/source/jni_uno/jni_base.h index 7fe21359bb24..1663eeaecbc4 100644 --- a/bridges/source/jni_uno/jni_base.h +++ b/bridges/source/jni_uno/jni_base.h @@ -228,7 +228,7 @@ inline rtl_mem * rtl_mem::allocate( ::std::size_t bytes ) void * p = rtl_allocateMemory( bytes ); if (0 == p) throw BridgeRuntimeError( "out of memory!" ); - return (rtl_mem *)p; + return static_cast<rtl_mem *>(p); } |