commit | 8d88b1818096e8a57f84cc4a4a36e478ba1adb83 | [log] [tgz] |
---|---|---|
author | Carl Shapiro <cshapiro@google.com> | Tue Feb 02 18:18:13 2010 -0800 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Feb 02 18:18:13 2010 -0800 |
tree | e0bfca75632f10b4e346ca492f71e6d0b8d393b6 | |
parent | f497cd830793d994e8a9fbbd89d79493ef9612bc [diff] | |
parent | ddd000b91fc22fb1e85b5687545e231231351fd1 [diff] |
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."