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

Commit dba71e34 authored by Greg Kaiser's avatar Greg Kaiser Committed by Gerrit Code Review
Browse files

Merge "RootCanal: Fix sign of printf format"

parents b11ff74e 5e2e8ad2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -436,7 +436,7 @@ static std::vector<uint8_t> generate_device_name(size_t device_nr,
  std::vector<uint8_t> output;
  output.resize(device_name_len + 1);
  int written_len = std::snprintf(reinterpret_cast<char*>(output.data()),
                                  output.size(), "#%02zd device", device_nr);
                                  output.size(), "#%02zu device", device_nr);
  // Remove the null terminator, not used for the device name
  // since it is framed in most cases.
  output.resize(device_name_len);