fixes https://github.com/frankmorgner/vsmartcard/issues/105
Fixes compiler warning about implicit type conversion on 64 bit machine