medfall

A super great game engine
Log | Files | Refs

commit 48163b416a69999d5cc0aad330956eb83b7ab50f
parent 58ed0ebb0f4a9f7f09ef925fd85a1af0d42c700b
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sun Jul 16 14:42:25 +0300

MSVC warning

Diffstat:
work_queue.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/work_queue.cc b/work_queue.cc @@ -89,7 +89,7 @@ void workqueue_enqueue( WorkQueue * queue, WorkQueueCallback * callback, const v void workqueue_exhaust( WorkQueue * queue ) { while( load_relaxed( &queue->head ) != load_acquire( &queue->tail ) ) { - workqueue_step( queue->threads.n, queue ); + workqueue_step( checked_cast< u32 >( queue->threads.n ), queue ); } }