Win32 buildfix and warning fix.
I don't know how many pads are supposed to be supported, but I went with a reasonable number until the proper amount is committed.
Remove the const int, and fix another warning.
One more warning fix.
Merge pull request #6212 from thedax/win32-buildfix

Win32: fix three warnings.