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

Skip to content
Commit ce4842e4 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
Change-Id: Ic41d3e77810e41f7ae8573ea1cadbdf4808fa461
parent 0198ef5c
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