Remove a type-aliasing cast that was causing warnings in gcc & clang.

This should get rid of the NTraits warning that @chrisdembia saw when compiling with `-Wall`.

See discussion in PR #192.