Type safety for 64 bit.
Merge pull request #41 from moneytree/rpr

Type safety for both colors and 64 bit.