diff -ur rpm-4.5.orig/lib/formats.c rpm-4.5/lib/formats.c --- rpm-4.5.orig/lib/formats.c 2008-06-10 01:19:16.000000000 +0200 +++ rpm-4.5/lib/formats.c 2019-01-24 21:42:07.736000000 +0100 @@ -900,7 +900,7 @@ char * val; assert(ix == 0); - if (he->t != RPM_INT64_TYPE) { + if (he->t != RPM_INT32_TYPE) { val = xstrdup(_("(invalid type)")); } else { int anint = data.i64p[ix];