diff --git a/src/hb-algs.hh b/src/hb-algs.hh index 52e64aed6..ccb293d60 100644 --- a/src/hb-algs.hh +++ b/src/hb-algs.hh @@ -113,9 +113,10 @@ struct BEInt #else /* __BYTE_ORDER == __BIG_ENDIAN */ return ((packed_uint16_t *) this)->v; #endif -#endif +#else return (v[0] << 8) + (v[1] ); +#endif } private: uint8_t v[2]; };