diff options
author | Chih-Hung Hsieh <chh@google.com> | 2018-12-10 13:52:46 -0800 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2018-12-11 11:27:17 -0800 |
commit | 054dab1d476eab03823d4cbce40b1b081a65bf46 (patch) | |
tree | 06d7f8189b94f2899cb27d97723cc8e392fb78b4 /cmds/incident_helper | |
parent | 3cfdb9484505f565025c8c2646b9fc2c7ceae7b9 (diff) |
Fix cert-dcl16-c clang-tidy warnings.
Bug: 120614316
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,cert-dcl16-c
Change-Id: I2dc262d3407aafa969e921236dc3fc3ae60eb9d4
Diffstat (limited to 'cmds/incident_helper')
-rw-r--r-- | cmds/incident_helper/tests/KernelWakesParser_test.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cmds/incident_helper/tests/KernelWakesParser_test.cpp b/cmds/incident_helper/tests/KernelWakesParser_test.cpp index f92d81361eab..573ca4f632e0 100644 --- a/cmds/incident_helper/tests/KernelWakesParser_test.cpp +++ b/cmds/incident_helper/tests/KernelWakesParser_test.cpp @@ -84,9 +84,9 @@ TEST_F(KernelWakesParserTest, Normal) { record1->set_event_count(8); record1->set_wakeup_count(0); record1->set_expire_count(0); - record1->set_active_since(0l); - record1->set_total_time(0l); - record1->set_max_time(0l); + record1->set_active_since(0L); + record1->set_total_time(0L); + record1->set_max_time(0L); record1->set_last_change(131348LL); record1->set_prevent_suspend_time(0LL); @@ -96,9 +96,9 @@ TEST_F(KernelWakesParserTest, Normal) { record2->set_event_count(143); record2->set_wakeup_count(0); record2->set_expire_count(0); - record2->set_active_since(0l); - record2->set_total_time(123l); - record2->set_max_time(3l); + record2->set_active_since(0L); + record2->set_total_time(123L); + record2->set_max_time(3L); record2->set_last_change(2067286206LL); record2->set_prevent_suspend_time(0LL); |