Commit 3d23e9d8 authored by François Grisez's avatar François Grisez
Browse files

Remove casting to non-potable type (useconds_t)

parent 0be10029
......@@ -53,7 +53,7 @@ static void wait_for_eof(Eof *obj, int refresh_time_ms, int timeout_ms) {
ms_mutex_lock(&obj->mutex);
while(obj->time_ms < timeout_ms && !obj->eof) {
ms_mutex_unlock(&obj->mutex);
ms_usleep((useconds_t)(refresh_time_ms) * 1000U);
ms_usleep(refresh_time_ms * 1000);
obj->time_ms += refresh_time_ms;
ms_mutex_lock(&obj->mutex);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment