h2olog: print pointers as JSON numbers, not as JSON strings
@@ -154,5 +154,5 @@ void json_write_pair_c(FILE *out, const char *name, size_t name_len, const void
{
fputc(',', out);
json_write_name_value(out, name, name_len);
- fprintf(out, "\"0x%\"" PRIx64, (uint64_t)value);
+ fprintf(out, "%" PRIu64, (uint64_t)value);
}
