fix build warning of memcpy/sleep function

No match.