Patch to compile with -Werror on AMD64

Added this to the issue

Added this to the issue tracker as GGL-29.

To use the issue tracker you first need to register an account. Which you can do at http://developer.imendio.com/issues/secure/Dashboard.jspa (follow the Signup link)

Thanks, Micke