diff options
author | Carl Shapiro <cshapiro@google.com> | 2010-02-02 18:18:13 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-02-02 18:18:13 -0800 |
commit | 3795018fc34c10254c21ab3d54d261ddece8c2f3 (patch) | |
tree | ae0d6c4c9953c8f6068b1ac76c557143f4c0542d /include/UniquePtr.h | |
parent | 326600b64610c22fb4a34a62dcd45fe707148ce2 (diff) | |
parent | 74776406c16173abf8a04c49206dbe5a3bf2c181 (diff) | |
download | libcore-3795018fc34c10254c21ab3d54d261ddece8c2f3.zip libcore-3795018fc34c10254c21ab3d54d261ddece8c2f3.tar.gz libcore-3795018fc34c10254c21ab3d54d261ddece8c2f3.tar.bz2 |
Merge "Fix a long standing bug within dvmHeapSourceGetObjectBitmaps. All callers of this function assign the return value to an unsigned value even though this function returns -1 in the error case. This causes the error checks to succeed in cases where it should otherwise fail. Rather than return -1 on error, I have elected to return 0 instead which just happens to be compatible with all current uses."
Diffstat (limited to 'include/UniquePtr.h')
0 files changed, 0 insertions, 0 deletions