diff options
author | Henrik Gramner <gramner@twoorioles.com> | 2021-09-03 20:05:41 +0300 |
---|---|---|
committer | Henrik Gramner <henrik@gramner.com> | 2021-09-03 20:08:56 +0300 |
commit | a978375bf8ef28b76929adb1c6e9f2013b4a84ac (patch) | |
tree | 01ef9586c2f5a9ada45bfa37a8db19c4bfcf3fd1 /src/thread_task.c | |
parent | 51a4272f0cb4f59752fbe53e1ef1dfeec26b58ec (diff) |
msvc: Fix some signedness warnings
Diffstat (limited to 'src/thread_task.c')
-rw-r--r-- | src/thread_task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread_task.c b/src/thread_task.c index 567c06e..697c979 100644 --- a/src/thread_task.c +++ b/src/thread_task.c @@ -77,7 +77,7 @@ cur_found: static inline void reset_task_cur_async(struct TaskThreadData *const ttd, unsigned frame_idx, unsigned n_frames) { - if (frame_idx < atomic_load(&ttd->first)) frame_idx += n_frames; + if (frame_idx < (unsigned)atomic_load(&ttd->first)) frame_idx += n_frames; unsigned last_idx = frame_idx; do { frame_idx = last_idx; |