error << _("no ID for state") << endmsg;
continue;
}
- sscanf (prop->value().c_str(), "%zd", &id);
+ sscanf (prop->value().c_str(), "%" G_GSIZE_FORMAT, &id);
if ((prop = (*i)->property ("image")) == 0) {
error << _("no image for state") << endmsg;
break;
case 0x7F:
- off += snprintf(buf + off, BUFFER_SIZE - off, "Proprietary (aka Sequencer) Event, length %zu",
+ off += snprintf(buf + off, BUFFER_SIZE - off, "Proprietary (aka Sequencer) Event, length %" G_GSIZE_FORMAT,
event->midi_buffer_length);
break;
assert(event);
if (!smf_event_is_valid(event)) {
- g_critical("Event #%zu on track #%d is invalid.", eventno, trackno);
+ g_critical("Event #%" G_GSIZE_FORMAT " on track #%d is invalid.", eventno, trackno);
return (-5);
}