remove casting to fix build error

Dependents:   RTC_Demo

USBMIDI/USBMIDI.cpp/shortlog/shortlog@03f8e580579a: not found in manifest