Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a6037e9 authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

am f167968b: am e0f91c37: Merge "We HAVE_LITTLE_ENDIAN."

* commit 'f167968b':
  We HAVE_LITTLE_ENDIAN.
parents 6c045579 f167968b
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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++) {