Fix some 64-bit type conversion warnings.
Fix a couple signedness warnings in disarm.
Couple more type conversion errors, cleanup.
Merge pull request #449 from unknownbrackets/warnings

64-bit warning fixes
Merge remote-tracking branch 'upstream/master' into tieba