mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof: fix format of 64-bit integer
This commit is contained in:
@ -202,7 +202,7 @@ sysprof_document_counter_value_format (SysprofDocumentCounterValue *self)
|
|||||||
if (self->type == SYSPROF_CAPTURE_COUNTER_DOUBLE)
|
if (self->type == SYSPROF_CAPTURE_COUNTER_DOUBLE)
|
||||||
return g_strdup_printf ("%lf", self->value.v_double);
|
return g_strdup_printf ("%lf", self->value.v_double);
|
||||||
else
|
else
|
||||||
return g_strdup_printf ("%ld", self->value.v_int64);
|
return g_strdup_printf ("%"G_GINT64_FORMAT, self->value.v_int64);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user