https://bugs.linaro.org/show_bug.cgi?id=1867

--- Comment #2 from Mike Holmes <[email protected]> ---
Is there cleaner fix that making it as false can we not just cast so that we
tell the tools that we know we are dropping the sign ?

@@ -443,7 +443,7 @@ static void *schedule_common_(void *arg)
                        num = 1;
                        if (sync == ODP_SCHED_SYNC_ORDERED) {
                                uint32_t ndx;
-                               uint32_t ndx_max = odp_queue_lock_count(from);
+                               uint32_t ndx_max = (uint32_t)
odp_queue_lock_cou

                                qctx = odp_queue_context(from);
                                bctx = odp_buffer_addr(buf);
@@ -581,7 +581,7 @@ static void reset_queues(thread_args_t *args)
                                queue_context *qctx =
                                        odp_queue_context(queue);
                                uint32_t ndx;
-                               uint32_t ndx_max =
+                               uint32_t ndx_max = (uint32_t)
                                        odp_queue_lock_count(queue);
                                qctx->sequence = 0;
                                for (ndx = 0; ndx < ndx_max; ndx++)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to