Code change for mingw 64bit

Hello everybody, 
here is a idea from me, how you can change the code to work with mingw 64 bit.

Have a nice time.