From d2c8f52189f8c2a13b88a107c6495f9d83196d2d Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Mon, 27 Feb 2012 16:48:18 -0800 Subject: Fixed two 64-bit porting issues; Make pid/tid type consistent 1. In printf, use "%zu" for variable of type size_t 2. Print tid in %5d 3. Make type of pid/tid in AndroidLogEntry and logger_entry consistent Change-Id: I3e3d9536ee58823f349a4734ae093d30eabe1bfe --- include/cutils/logprint.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/cutils/logprint.h b/include/cutils/logprint.h index 769c8a73..2b1e1c51 100644 --- a/include/cutils/logprint.h +++ b/include/cutils/logprint.h @@ -44,8 +44,8 @@ typedef struct AndroidLogEntry_t { time_t tv_sec; long tv_nsec; android_LogPriority priority; - pid_t pid; - pthread_t tid; + int32_t pid; + int32_t tid; const char * tag; size_t messageLen; const char * message; -- cgit v1.2.3