diff --git a/lib/query.c b/lib/query.c index 8045d43785..d09aa2aaf3 100644 --- a/lib/query.c +++ b/lib/query.c @@ -251,7 +251,7 @@ void rpmDisplayQueryTags(FILE * fp) rpmTagVal tag = rpmTagGetValue(sname); rpmTagType type = rpmTagGetTagType(tag); fprintf(fp, "%-20s %6d", sname, tag); - if (type > RPM_MIN_TYPE && type <= RPM_MAX_TYPE) + if (type >= RPM_MIN_TYPE && type <= RPM_MAX_TYPE) fprintf(fp, " %s", tagTypeNames[type]); } else { fprintf(fp, "%s", sname);