remove casting to fix build error

Dependents:   RTC_Demo

USBMSD/USBMSD.cpp/shortlog/shortlog@b7a0ea455a0c: not found in manifest