Safer fix for building with Clang.
error: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') Reported by: Ed Maste
This commit is contained in:
parent
b1754ad17b
commit
fed980b201
@ -761,7 +761,7 @@ dt_print_llquantize(dtrace_hdl_t *dtp, FILE *fp, const void *addr,
|
||||
step = next > nsteps ? next / nsteps : 1;
|
||||
|
||||
if (first_bin == 0) {
|
||||
(void) snprintf(c, sizeof (c), "< %ld", value);
|
||||
(void) snprintf(c, sizeof (c), "< %lld", (long long)value);
|
||||
|
||||
if (dt_printf(dtp, fp, "%16s ", c) < 0)
|
||||
return (-1);
|
||||
|
Loading…
Reference in New Issue
Block a user