[libc-commits] [PATCH] D108800: [libc] Fix various -Wconversion warnings in strto*l test code.

Roland McGrath via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Aug 26 19:06:35 PDT 2021


mcgrathr created this revision.
mcgrathr added reviewers: michaelrj, sivachandra.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added a project: libc-project.
mcgrathr requested review of this revision.

The Fuchsia build compiles the libc and test code with lots
of warnings enabled, including all the integer conversion warnings.
There was some sloppy type usage here that triggered some of those.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108800

Files:
  libc/test/src/stdlib/strtol_test.cpp
  libc/test/src/stdlib/strtoll_test.cpp
  libc/test/src/stdlib/strtoul_test.cpp
  libc/test/src/stdlib/strtoull_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108800.369020.patch
Type: text/x-patch
Size: 9924 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210827/ff2f6783/attachment.bin>


More information about the libc-commits mailing list