diff options
author | Doug Kwan <dougkwan@google.com> | 2012-04-14 00:08:10 -0700 |
---|---|---|
committer | Doug Kwan <dougkwan@google.com> | 2012-04-14 00:08:10 -0700 |
commit | eb789ea833d8d800662b67914d9c1785a58c2caa (patch) | |
tree | 8991b9f3cbb82b32d1fab2500fd2c557721a037e /src | |
parent | 6426040f1be4a844082c9769171ce7f5341a5528 (diff) | |
download | android_abi_cpp-eb789ea833d8d800662b67914d9c1785a58c2caa.tar.gz android_abi_cpp-eb789ea833d8d800662b67914d9c1785a58c2caa.tar.bz2 android_abi_cpp-eb789ea833d8d800662b67914d9c1785a58c2caa.zip |
Fix for issue 28721.cm-10.2.1cm-10.2.0cm-10.2-M1cm-10.1.3-RC2cm-10.1.3-RC1cm-10.1.3cm-10.1.2cm-10.1.1cm-10.1.0-RC5cm-10.1.0-RC4cm-10.1.0-RC3cm-10.1.0-RC2cm-10.1.0-RC1cm-10.1.0cm-10.1-M3cm-10.1-M2cm-10.1-M1stable/cm-10.2mr1.1-stagingjellybean-stablejellybeancm-10.2cm-10.1
Change-Id: I8669d5ae5719b2fdd0e8d05aed7da8e55568463d
http://code.google.com/p/android/issues/detail?id=28721
Diffstat (limited to 'src')
-rw-r--r-- | src/dynamic_cast.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynamic_cast.cc b/src/dynamic_cast.cc index 4487fff..2dacac8 100644 --- a/src/dynamic_cast.cc +++ b/src/dynamic_cast.cc @@ -320,7 +320,7 @@ namespace __cxxabiv1 // If it is known that v points to a public base class subobject // of a T object, simply adjust the pointer by the offset. if (t_object != ambiguous_object && src2dst_offset >= 0) - return const_cast<void*>(adjust_pointer(v, src2dst_offset)); + return const_cast<void*>(adjust_pointer(v, -src2dst_offset)); // If there is only one T type subobject, we only need to look at // there. Otherwise, look for the subobject referred by v in the |