Fix enum scan on powerpc
authorCharles Lehner <celehner1@gmail.com>
Thu, 3 Dec 2015 23:50:15 +0000 (18:50 -0500)
committerCharles Lehner <charles@claws-mail.org>
Thu, 3 Dec 2015 23:58:29 +0000 (18:58 -0500)
commitbe4091e52342eb578944733861a77ca78e66eb6f
tree5db820de0d20f7e2dbd2fb1ddb598b5dbb1b2663
parent610b8c5dccea59ffc5f2b609c8c9081372f5af24
Fix enum scan on powerpc

Casting the enum pointers to char pointers (or unsigned char pointers) was
leading to config->auth getting the wrong value scanned on little-endian 32-bit
PowerPC systems. Using separate variables and implicit type coercion fixes this.
src/plugins/managesieve/sieve_prefs.c