am e0f91c37: Merge "We HAVE_LITTLE_ENDIAN."

* commit 'e0f91c3731b16b010eb31117e941e5468bdfeb2e':
  We HAVE_LITTLE_ENDIAN.
This commit is contained in:
Elliott Hughes 2014-11-22 08:01:17 +00:00 committed by Android Git Automerger
commit f167968b46

View File

@ -220,13 +220,8 @@ void printHexData(int32_t indent, const void *buf, size_t length,
for (word = 0; word < bytesPerLine; ) {
#ifdef HAVE_LITTLE_ENDIAN
const size_t startIndex = word+(alignment-(alignment?1:0));
const ssize_t dir = -1;
#else
const size_t startIndex = word;
const ssize_t dir = 1;
#endif
for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) {