summaryrefslogtreecommitdiffstats
path: root/logd/LogBuffer.h
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-08-13 14:22:56 -0700
committerChih-Hung Hsieh <chh@google.com>2018-08-13 14:24:33 -0700
commit08d470bf08ce94f9e9860a7ba8ce2903502f093a (patch)
treea471de13c7a2fa9f776b1915dfbc0b2f44374bf2 /logd/LogBuffer.h
parent3b984c7efe00d72df699a439e422fe81178b9a58 (diff)
downloadsystem_core-08d470bf08ce94f9e9860a7ba8ce2903502f093a.tar.gz
system_core-08d470bf08ce94f9e9860a7ba8ce2903502f093a.tar.bz2
system_core-08d470bf08ce94f9e9860a7ba8ce2903502f093a.zip
Replace (unsigned) short with (u)int16_t.
Bug: 112478838 Test: build with WITH_TIDY=1 Change-Id: I4b81e6287e72bce2d3cb67cacd6220d064818852
Diffstat (limited to 'logd/LogBuffer.h')
-rw-r--r--logd/LogBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/logd/LogBuffer.h b/logd/LogBuffer.h
index 094298799..774d4ab0b 100644
--- a/logd/LogBuffer.h
+++ b/logd/LogBuffer.h
@@ -115,7 +115,7 @@ class LogBuffer : public LogBufferInterface {
}
int log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid,
- const char* msg, unsigned short len) override;
+ const char* msg, uint16_t len) override;
// lastTid is an optional context to help detect if the last previous
// valid message was from the same source so we can differentiate chatty
// filter types (identical or expired)