diff options
author | Ian McKellar <ianloic@google.com> | 2023-06-06 20:48:23 +0000 |
---|---|---|
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-06-06 20:48:23 +0000 |
commit | d6565261f5a55c9028da7a37e6d458ab177503af (patch) | |
tree | 026a9a104524196ddda0659e63cbdfd08ece0a15 /pw_string/BUILD.gn | |
parent | 11fa22b210e7a0a24893ab949914971da33b45bc (diff) | |
download | pigweed-d6565261f5a55c9028da7a37e6d458ab177503af.tar.gz |
pw_rpc: Conversion warning cleanups
This turns on -Wconversion for tests for pw_rpc, pw_protobuf, pw_varint,
pw_hdlc and pw_string, and fixes the issues that came up.
Bug: b/259746255
Change-Id: I52fec0f5c4940e59f3fc63abc2cdd31bd3a9d93a
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/146793
Pigweed-Auto-Submit: Ian McKellar <ianloic@google.com>
Reviewed-by: Erik Gilling <konkers@google.com>
Commit-Queue: Ian McKellar <ianloic@google.com>
Diffstat (limited to 'pw_string/BUILD.gn')
-rw-r--r-- | pw_string/BUILD.gn | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pw_string/BUILD.gn b/pw_string/BUILD.gn index a2a9bc946..ab80cff19 100644 --- a/pw_string/BUILD.gn +++ b/pw_string/BUILD.gn @@ -153,6 +153,9 @@ pw_test_group("tests") { pw_test("format_test") { deps = [ ":format" ] sources = [ "format_test.cc" ] + + # TODO(b/259746255): Remove this when everything compiles with -Wconversion. + configs = [ "$dir_pw_build:conversion_warnings" ] } pw_test("string_test") { |