diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2016-06-01 15:23:32 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2016-06-01 15:23:32 -0700 |
commit | 19fbe93787ea018572d0cdc80d9402ce866020f7 (patch) | |
tree | e273210fcf277e02a3d8e876dcfb031efb0487a1 /src | |
parent | 4b5e75714716013fbb8a40fcac49257d442834b8 (diff) |
Fix format string
Diffstat (limited to 'src')
-rw-r--r-- | src/core/lib/iomgr/error.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/error.c b/src/core/lib/iomgr/error.c index b38584100d..d99f9740b5 100644 --- a/src/core/lib/iomgr/error.c +++ b/src/core/lib/iomgr/error.c @@ -33,6 +33,7 @@ #include "src/core/lib/iomgr/error.h" +#include <inttypes.h> #include <stdbool.h> #include <string.h> @@ -340,7 +341,7 @@ static char *key_time(void *p) { static char *fmt_int(void *p) { char *s; - gpr_asprintf(&s, "%lld", (intptr_t)p); + gpr_asprintf(&s, "%"PRIdPTR, (intptr_t)p); return s; } |