[spi-hdlc-adapter] add cast to unsigned int on call to usleep (#3994)

This commit is contained in:
Jonathan Hui
2019-07-16 09:04:34 -07:00
committed by GitHub
parent e80f46a993
commit 6393901e52
+1 -1
View File
@@ -1826,7 +1826,7 @@ int main(int argc, char *argv[])
trigger_reset();
usleep(sSpiResetDelay * USEC_PER_MSEC);
usleep((useconds_t)sSpiResetDelay * USEC_PER_MSEC);
// ========================================================================
// MAIN LOOP