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

Commit 9e38061e authored by Colin Cross's avatar Colin Cross
Browse files

Use size_t instead of uint

uint isn't a standard type, use size_t instead.  Fixes building against
musl libc, which doesn't define uint unless _GNU_SOURCE or _BSD_SOURCE
is defined.

Bug: 190084016
Test: m USE_HOST_MUSL=true host-native
Change-Id: I2a1aac6d7a4f780dcc6db0266de0bf49015d4437
parent bd135048
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ std::vector<uint32_t> osi_property_get_uintlist(
  }

  std::vector<uint32_t> list;
  for (uint i = 0; i < result->size(); i++) {
  for (size_t i = 0; i < result->size(); i++) {
    // Build a string of all the chars until the next comma or end of the
    // string is reached. If any char is not a digit, then return the default.
    std::string value;