From: ewt Date: Thu, 2 Jan 1997 17:46:32 +0000 (+0000) Subject: handle RPM_CHAR_TYPE like RPM_INT8_TYPE for queries X-Git-Tag: rpm-4.4-release~4472 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=61d6be240dff65d907828d3227f0b9e07f28a33f;p=platform%2Fupstream%2Frpm.git handle RPM_CHAR_TYPE like RPM_INT8_TYPE for queries CVS patchset: 1263 CVS date: 1997/01/02 17:46:32 --- diff --git a/query.c b/query.c index 3c91e0e..d7c2276 100644 --- a/query.c +++ b/query.c @@ -252,6 +252,7 @@ static char * handleFormat(Header h, char * chptr, int * cntptr, printf(format, p); break; + case RPM_CHAR_TYPE: case RPM_INT8_TYPE: strcat(format, "d"); printf(format, *(((int_8 *) p) + arrayNum));