Work around GCC6
authorKlaus Ethgen <Klaus@Ethgen.de>
Thu, 14 Apr 2016 13:25:44 +0000 (14:25 +0100)
committerKlaus Ethgen <Klaus@Ethgen.de>
Thu, 14 Apr 2016 13:40:47 +0000 (14:40 +0100)
commitb5fef3db36186993d711878b5ae687138747c732
tree639db7ab090d4247f15cb016d852701b719ca5db
parent010ed5dddef21c17e2ced71d38d7ff6597f4f438
Work around GCC6

This problem is really annoying. Left shifting a value does not require
it to be positive in C. However, some specifications define that as
undefined behaviour.

Nevertheless, as used in this case it is perfectly fine and widely used
construct.

Closes #230, #378
src/typedefs.h