about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--doc/HISTORY3
-rw-r--r--lib/util/wordaccess_be_aligned.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/HISTORY b/doc/HISTORY
index b4874ae9..fdfd4892 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -28,6 +28,9 @@ not yet  BJH  Release 10.70.00
               internal header file pm_c_util.h.  Introduced in Netpbm
               10.69 (December 2014).
 
+              build: fix compile failure in wordint_access_be.h with
+              Bigendian target platforms.
+
               build: fix compile failure in pbmtomacp, ppmtoacad, pgmabel:
               TRUE redefined.  Introduced in Netpbm 10.69 (December 2014).
 
diff --git a/lib/util/wordaccess_be_aligned.h b/lib/util/wordaccess_be_aligned.h
index 0d5809e6..f3bbb841 100644
--- a/lib/util/wordaccess_be_aligned.h
+++ b/lib/util/wordaccess_be_aligned.h
@@ -24,7 +24,7 @@ bytesToWordint(wordintBytes bytes) {
 static __inline__ void
 wordintToBytes(wordintBytes * const bytesP,
                wordint        const wordInt) {
-    uint16_t const hi = ((wordInt >> 48) & 0xFF)
+    uint16_t const hi = ((wordInt >> 48) & 0xFF);
     uint16_t const mh = ((wordInt >> 32) & 0xFF);
     uint16_t const ml = ((wordInt >> 24) & 0xFF);
     uint16_t const lo = ((wordInt >>  0) & 0xFF);