From: Michael Jeanson Date: Tue, 30 May 2017 19:55:15 +0000 (-0400) Subject: Port: use portable print format for size_t X-Git-Tag: v2.0.0-pre1~75 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=003c7749e9433d5712c13cb169e5bc828d1908ea Port: use portable print format for size_t Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- diff --git a/lib/values.c b/lib/values.c index 8ddbe7de..ea69643e 100644 --- a/lib/values.c +++ b/lib/values.c @@ -674,7 +674,7 @@ struct bt_value *bt_value_string_create_init(const char *val) goto end; } - BT_LOGD("Creating string value object: val-len=%lu", strlen(val)); + BT_LOGD("Creating string value object: val-len=%zu", strlen(val)); string_obj = g_new0(struct bt_value_string, 1); if (!string_obj) {