summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAshok Bhat <ashok.bhat@arm.com>2014-03-04 21:13:52 +0000
committerAshok Bhat <ashok.bhat@arm.com>2014-03-06 11:33:20 +0000
commit58fad0bf141109f1aed820f4d57985c116e05b61 (patch)
tree70b75126205a465548a1213cf7c47bf66a57dcc2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent2383f2200ab0c2dbd71708b5c1fb6af98db408fa (diff)
Don't use size_t for variables that store uint32_t value
The local variables width, height, displayWidth and displayHeight are set to the corresponding members of VideoFrame class. As the members of VideoFrame are uint32_t, the local variables have been changed to uint32_t. As these local variables are passed to a java method, the change of size_t to uint32_t ensures that the size of the actual parameter (i.e uint32_t) is now same as the size of the formal parameter (i.e. jint) for all platforms. Change-Id: Icd14de0142bfd4e6ba52a3e6aff3d80b323a0de4 Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions