fixed minor conversion warning

dev
Yann Collet 2019-04-11 12:25:27 -07:00
parent f8e9bec73a
commit 058da605cb
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ static void fn(void *opaque)
{ {
struct data *data = (struct data *)opaque; struct data *data = (struct data *)opaque;
ZSTD_pthread_mutex_lock(&data->mutex); ZSTD_pthread_mutex_lock(&data->mutex);
data->data[data->i] = data->i; data->data[data->i] = (unsigned)(data->i);
++data->i; ++data->i;
ZSTD_pthread_mutex_unlock(&data->mutex); ZSTD_pthread_mutex_unlock(&data->mutex);
} }