Fix format string

pull/6897/head
Craig Tiller 9 years ago
parent 4b5e757147
commit 19fbe93787
  1. 3
      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;
}

Loading…
Cancel
Save