`ctf` plugins: port: cast to intmax_t all off_t variables when printing
[babeltrace.git] / src / plugins / ctf / common / msg-iter / msg-iter.c
index 78a65f1adb631c1cfef61f3c79feca79b1dc5436..7c4756716d3321f22980cefef5e2aa9b58f42032 100644 (file)
@@ -2920,7 +2920,7 @@ enum bt_msg_iter_status bt_msg_iter_seek(struct bt_msg_iter *notit,
 
        BT_ASSERT(notit);
        if (offset < 0) {
-               BT_COMP_LOGE("Cannot seek to negative offset: offset=%jd", offset);
+               BT_COMP_LOGE("Cannot seek to negative offset: offset=%jd", (intmax_t) offset);
                ret = BT_MSG_ITER_STATUS_INVAL;
                goto end;
        }
This page took 0.02402 seconds and 4 git commands to generate.