Make 32-bit version of the unit tests pass.

With corrupt_data being

 uint8_t corrupt_data[4] = {0xff, 0xff, 0xff, 0xff};

then "-sizeof corrupt_data" when passed as a int64_t will be passed as
4294967292 instead of -4. I'm not entirely sure why this is but
passing the literal value -4 fixes it. This was discovered while
reviewing https://android-review.googlesource.com/#/c/315014/

Test: All unit tests pass on 64- and 32-bit.
Bug: None.
Change-Id: Ifdd440a45926284d9e9cdb8d4013887143aebc4a
1 file changed
tree: e7b6c30a4a5d71198cc036e8aa85555d12b51e80
  1. boot_control/
  2. libavb/
  3. libavb_ab/
  4. test/
  5. Android.mk
  6. avbtool
  7. LICENSE
  8. README