diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2015-01-23 18:51:17 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2015-01-23 18:51:17 +0000 |
commit | 54c1a3ffeb45794012439f4c1e7c689c8407986a (patch) | |
tree | 2416a3e1dfc338e1a9b1c7dc8529d587be87740c | |
parent | adddf9c7d041d0cdc3e9445ca33cad48dec7bfb8 (diff) | |
download | netpbm-mirror-54c1a3ffeb45794012439f4c1e7c689c8407986a.tar.gz netpbm-mirror-54c1a3ffeb45794012439f4c1e7c689c8407986a.tar.xz netpbm-mirror-54c1a3ffeb45794012439f4c1e7c689c8407986a.zip |
Fix syntax error
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2395 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | doc/HISTORY | 3 | ||||
-rw-r--r-- | lib/util/wordaccess_be_aligned.h | 2 |
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); |