diff options
author | Lalit Maganti <lalitm@google.com> | 2023-05-15 14:30:06 +0100 |
---|---|---|
committer | Lalit Maganti <lalitm@google.com> | 2023-05-15 14:30:06 +0100 |
commit | d9d0730f824491aeae712e41d43cf348272eb55e (patch) | |
tree | ab88f49b5fa5385f199a670f86f4e173d7632d8a | |
parent | 025e2045367a9062a1c0bac6e6c1d87672a4d016 (diff) | |
download | perfetto-d9d0730f824491aeae712e41d43cf348272eb55e.tar.gz |
tp: fix UI compile
Change-Id: Ieedd86509a1cca6e4b4f7041435ec97e4e796147
-rw-r--r-- | src/trace_processor/sqlite/sqlite_engine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trace_processor/sqlite/sqlite_engine.h b/src/trace_processor/sqlite/sqlite_engine.h index 2ec82e0bb..2af8b81d4 100644 --- a/src/trace_processor/sqlite/sqlite_engine.h +++ b/src/trace_processor/sqlite/sqlite_engine.h @@ -130,11 +130,11 @@ class SqliteEngine { private: struct FnHasher { - uint64_t operator()(const std::pair<std::string, int>& x) const { + size_t operator()(const std::pair<std::string, int>& x) const { base::Hasher hasher; hasher.Update(x.first); hasher.Update(x.second); - return hasher.digest(); + return static_cast<size_t>(hasher.digest()); } }; |