From: ewt Date: Thu, 27 Jun 1996 18:14:45 +0000 (+0000) Subject: added support for INT8 types in query formats X-Git-Tag: tznext/4.11.0.1.tizen20130304~11278 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c1b4c03770cc549473df83aa37ba15eb9ef54fc;p=tools%2Flibrpm-tizen.git added support for INT8 types in query formats CVS patchset: 682 CVS date: 1996/06/27 18:14:45 --- diff --git a/query.c b/query.c index 60c4a30..beede3f 100644 --- a/query.c +++ b/query.c @@ -150,6 +150,11 @@ static const char * handleFormat(Header h, const char * chptr, printf(format, p); break; + case INT8_TYPE: + strcat(format, "d"); + printf(format, *((int_8 *) p)); + break; + case INT32_TYPE: if (isDate) { strcat(format, "s");