EmbeddedPkg/AndroidFastboot: fix size with 64bit
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Mon, 29 Feb 2016 14:51:50 +0000 (22:51 +0800)
committerLeif Lindholm <leif.lindholm@linaro.org>
Mon, 29 Feb 2016 15:27:13 +0000 (15:27 +0000)
commitcb1d0668a5e7554c7250581c47f69434674c7cbe
treefbd3b1c6598704301539dfa52316079a0906671e
parentf5e6aa8e176c3f1dc557d85749ef797b8d482b56
EmbeddedPkg/AndroidFastboot: fix size with 64bit

Since there's percentage calcution, multiply on 32bit variable
will cause overflow. So fix the variables as 64bit.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.c