remove warning about <> cast
Merge pull request #547 from emdete/p0

remove warning about <> cast