summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorHaitao Feng <haitao.feng@intel.com>2014-12-31 13:48:08 +0800
committerNarayan Kamath <narayan@google.com>2015-01-06 09:57:13 +0000
commit8bd6a203ca753e9181564221e4faf7703d520b78 (patch)
tree7b3d47a0c0b3fb04c44526544347f4035edf529e /tools/aapt2/diff/Diff.cpp
parent72d33849fea5de45087bfa79e645fa282ce8fcef (diff)
Use NULL instead of 0 for pointer arguments of CallStaticVoidMethod.
CallStaticVoidMethod is varargs function, and calling it with a literal 0 like CallStaticVoidMethod(..., 0) will treat the argument as a 4 byte int in both 32 and 64 bit processes. This is incorrect for pointer arguments where NULL should be used instead. Reviewed-by: Liao, Bruce <bruce.liao@intel.com> Signed-off-by: Yong Yao <yong.yao@intel.com> Change-Id: I9d700d3790a80dbee6826f64baf9ef5d81ca390f
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions