Fix most warnings from x86_64 compiler.


git-svn-id: http://mintty.googlecode.com/svn/trunk@1299 2782a51e-c42b-11dd-927d-974589228060
Rewrite handling of alphanumeric keys with conditional statements rather 
than conditional expressions because gcc 4.8's -Wparentheses warning 
didn't like the use of the '?:' operator here. It probably had a point.


git-svn-id: http://mintty.googlecode.com/svn/trunk@1300 2782a51e-c42b-11dd-927d-974589228060
Avoid all uses of type 'long', because that changes size to 64 bits on 
64-bit Cygwin. (The Windows-defined 'LONG' remains 32 bits).


git-svn-id: http://mintty.googlecode.com/svn/trunk@1301 2782a51e-c42b-11dd-927d-974589228060
Don't pull 32-bit Common Controls into 64-bit executable.


git-svn-id: http://mintty.googlecode.com/svn/trunk@1302 2782a51e-c42b-11dd-927d-974589228060