diff options
| author | Carl Shapiro <cshapiro@google.com> | 2010-02-02 13:47:59 -0800 |
|---|---|---|
| committer | Carl Shapiro <cshapiro@google.com> | 2010-02-02 15:01:23 -0800 |
| commit | ddd000b91fc22fb1e85b5687545e231231351fd1 (patch) | |
| tree | 0997929ec7f9903eb34474fa729f550e97fc2e14 /vm/compiler/codegen/arm/CodegenDriver.c | |
| parent | 601fa0418e1f0835fd5ad7b06d3a6d2d631d667d (diff) | |
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 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions
