Fixed serious parsing bug reported by JMQ; (misaligned casts)