Need to use 'unsigned' in utility cast of enums.  Mac doesnt understand 'uint'.
Merge pull request #171 from hildeth/fixMacCompilerError

Need to use 'unsigned' in utility cast of enums.  Mac doesnt understand 'uint'.