diff options
author | Chih-Hung Hsieh <chh@google.com> | 2018-12-11 15:16:24 -0800 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2018-12-11 15:16:24 -0800 |
commit | c2edae3f863f7c04d3b543c608319584527f2435 (patch) | |
tree | cc1107f059e84a994d83a99fe1ffd1380ac0863b /tests/stdio_test.cpp | |
parent | 913f808c0f502d64ca542ceab984c9d40eb97eed (diff) |
Fix cert-dcl16-c clang-tidy warnings in tests.
Bug: 120614316
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,cert-dcl16-c
Change-Id: I2606dc4cdfff9c2691ed60d529971e16adb3a9ae
Diffstat (limited to 'tests/stdio_test.cpp')
-rw-r--r-- | tests/stdio_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stdio_test.cpp b/tests/stdio_test.cpp index e9ec49979..479fd9d62 100644 --- a/tests/stdio_test.cpp +++ b/tests/stdio_test.cpp @@ -761,7 +761,7 @@ TEST(STDIO_TEST, snprintf_e) { snprintf(buf, sizeof(buf), "%e", 1.5); EXPECT_STREQ("1.500000e+00", buf); - snprintf(buf, sizeof(buf), "%Le", 1.5l); + snprintf(buf, sizeof(buf), "%Le", 1.5L); EXPECT_STREQ("1.500000e+00", buf); } |