From 54c1a3ffeb45794012439f4c1e7c689c8407986a Mon Sep 17 00:00:00 2001 From: giraffedata Date: Fri, 23 Jan 2015 18:51:17 +0000 Subject: Fix syntax error git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2395 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- doc/HISTORY | 3 +++ lib/util/wordaccess_be_aligned.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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); -- cgit 1.4.1