diff --git a/src/emu/ovni/mark.c b/src/emu/ovni/mark.c index 3eb123b..950ae00 100644 --- a/src/emu/ovni/mark.c +++ b/src/emu/ovni/mark.c @@ -147,7 +147,7 @@ create_mark_type(struct ovni_mark_emu *m, long type, enum chan_type ctype, const struct mark_type *t = find_mark_type(m, type); if (t != NULL) { - err("mark type %d already defined", type); + err("mark type %ld already defined", type); return NULL; } @@ -627,7 +627,7 @@ int mark_event(struct emu *emu) { if (emu->ev->payload_size != 8 + 4) { - err("unexpected payload size %d", emu->ev->payload_size); + err("unexpected payload size %zd", emu->ev->payload_size); return -1; } diff --git a/src/rt/ovni.c b/src/rt/ovni.c index f9fa567..2ce748c 100644 --- a/src/rt/ovni.c +++ b/src/rt/ovni.c @@ -1151,7 +1151,7 @@ ovni_mark_label(int32_t type, int64_t value, const char *label) die("label '%s' already defined", label); if (json_object_dotset_string(meta, key, label) != 0) - die("json_object_dotset_string() failed", type); + die("json_object_dotset_string() failed"); } /**