Skip to content
Snippets Groups Projects
  1. Nov 06, 2018
  2. Nov 01, 2018
  3. Oct 28, 2018
  4. Oct 27, 2018
    • Mara Bos's avatar
      Fix many format strings. · 10c20b38
      Mara Bos authored
      Fixes these invalid format strings:
      - A `%d` for a pointer (replaced it by `%p`)
      - A 0x%08x (and a 0x%0x8!) for a pointer (replaced by %p)
      - 2 cases of `%d` for a `ssize_t` (replaced it by `%zi`)
      - 1 case of a %u for an `int` (replaced by %i)
      - 3 cases of %d for a `long` (replaced by %ld)
      - 19 cases of `%d`, `%i`, `%u` or `%lu` for a `size_t` (replaced it by `%zu`)
      - An unused formatting argument (removed it)
      - A missing `%d` (added it)
      - A missing `%s` (added it)
      - 2 cases of `%llu` for a `uint64_t` (replaced it by `"%" PRIu64`)
      - 6 cases of giving a string directly as format string (replaced it by `("%s", string)`)
      - 2 cases of %*-s, which should probably have been %-*s.
        (Looks like NuttX accepts (the invalid) %*-s, but other platforms don't.)
      - A %04x for a `uint32_t` (replaced by "%04" PRIx32)
      10c20b38
  5. Oct 24, 2018
  6. Oct 20, 2018
  7. Oct 18, 2018
  8. Oct 17, 2018
  9. Oct 16, 2018
  10. Oct 10, 2018
  11. Oct 09, 2018
  12. Oct 04, 2018
  13. Oct 03, 2018
  14. Oct 01, 2018
Loading