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
diff --git a/tests/math_test.cpp b/tests/math_test.cpp
index 72276d8..f816fad 100644
--- a/tests/math_test.cpp
+++ b/tests/math_test.cpp
@@ -1005,7 +1005,7 @@
 }
 
 TEST(MATH_TEST, erfcl) {
-  ASSERT_DOUBLE_EQ(0.15729920705028513l, erfcl(1.0L));
+  ASSERT_DOUBLE_EQ(0.15729920705028513L, erfcl(1.0L));
 }
 
 TEST(MATH_TEST, lrint) {
diff --git a/tests/stdio_test.cpp b/tests/stdio_test.cpp
index e9ec499..479fd9d 100644
--- a/tests/stdio_test.cpp
+++ b/tests/stdio_test.cpp
@@ -761,7 +761,7 @@
   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);
 }