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.

@Bigpet