summaryrefslogtreecommitdiff
path: root/identity
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2022-02-09 15:35:58 -0800
committerChih-Hung Hsieh <chh@google.com>2022-02-09 15:38:45 -0800
commit4f4d365aa598e933879081f852df9b32c2c979ee (patch)
tree73a0620f13ec9163ce80318e5d817aa6203b21c6 /identity
parent8b389e11236f9e2ded7f988555d77f4be7631707 (diff)
Fix cert-dcl16-c warnings
Bug: 120614316 Test: make tidy-hardware-interfaces_subset Change-Id: I6bbeddb9990e4771155ec7d49a68f0e161789030
Diffstat (limited to 'identity')
-rw-r--r--identity/support/include/cppbor/cppbor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/identity/support/include/cppbor/cppbor.h b/identity/support/include/cppbor/cppbor.h
index a755db13a2..af5d82e8bd 100644
--- a/identity/support/include/cppbor/cppbor.h
+++ b/identity/support/include/cppbor/cppbor.h
@@ -274,7 +274,7 @@ class Nint : public Int {
virtual std::unique_ptr<Item> clone() const override { return std::make_unique<Nint>(mValue); }
private:
- uint64_t addlInfo() const { return -1ll - mValue; }
+ uint64_t addlInfo() const { return -1LL - mValue; }
int64_t mValue;
};