diff --git a/libvips/foreign/heifsave.c b/libvips/foreign/heifsave.c index e752f442a..b5317e7ec 100644 --- a/libvips/foreign/heifsave.c +++ b/libvips/foreign/heifsave.c @@ -426,10 +426,10 @@ vips_foreign_save_heif_pack(VipsForeignSaveHeif *heif, } } else { - VipsObjectClass *class = VIPS_OBJECT_CLASS(heif); + VipsObjectClass *class = VIPS_OBJECT_GET_CLASS(heif); vips_error(class->nickname, - "%s", _("unimplemeted format conversion")); + "%s", _("unimplemented format conversion")); return -1; }