Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 294e7626 authored by Erik Kline's avatar Erik Kline
Browse files

Fix iteration through a slice to account for -Wsign-compare

It seems that pi-dev and AOSP compile flags might be different, as
no -Wsign-compare failures happened on AOSP.

Switching from for (int i = 0; ...) style to for (; !slice.empty(); ...)
in several places also provides a better example of how to use Slice.

Test: netdutils_test passes
Bug: 78250686
Merged-In: I5479af7b2a2d59f8d7777df88ee54626fac32f5b
Merged-In: Icb8772f1a248b7e00393d4006f24561e4d37ac46
Change-Id: Ic41d3e77810e41f7ae8573ea1cadbdf4808fa461
(cherry picked from commit ce4842e4)
parent de3594fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment