diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-01-02 13:22:26 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-01-02 13:22:26 +0200 |
commit | d772111b9131a9fc7ad4da1008ba6fb202344a2f (patch) | |
tree | dbe7ad29a8b2f0706d33741bed9c24a4b5f2e297 /lib/formats.c | |
parent | addac6a86be1a6c7a668f97c9d7a0d85277f6779 (diff) | |
download | rpm-d772111b9131a9fc7ad4da1008ba6fb202344a2f.tar.gz rpm-d772111b9131a9fc7ad4da1008ba6fb202344a2f.tar.bz2 rpm-d772111b9131a9fc7ad4da1008ba6fb202344a2f.zip |
Use size_t, not int for header format padding args
Diffstat (limited to 'lib/formats.c')
-rw-r--r-- | lib/formats.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/formats.c b/lib/formats.c index f41eb7e10..90ea4d357 100644 --- a/lib/formats.c +++ b/lib/formats.c @@ -25,7 +25,7 @@ * @return formatted string */ static char * triggertypeFormat(rpm_tagtype_t type, rpm_constdata_t data, - char * formatPrefix, int padding, + char * formatPrefix, size_t padding, int element) { const int32_t * item = data; @@ -56,7 +56,7 @@ static char * triggertypeFormat(rpm_tagtype_t type, rpm_constdata_t data, * @return formatted string */ static char * permsFormat(rpm_tagtype_t type, rpm_constdata_t data, - char * formatPrefix, int padding, int element) + char * formatPrefix, size_t padding, int element) { char * val; char * buf; @@ -84,7 +84,7 @@ static char * permsFormat(rpm_tagtype_t type, rpm_constdata_t data, * @return formatted string */ static char * fflagsFormat(rpm_tagtype_t type, rpm_constdata_t data, - char * formatPrefix, int padding, int element) + char * formatPrefix, size_t padding, int element) { char * val; char buf[15]; @@ -130,7 +130,7 @@ static char * fflagsFormat(rpm_tagtype_t type, rpm_constdata_t data, * @return formatted string */ static char * armorFormat(rpm_tagtype_t type, rpm_constdata_t data, - char * formatPrefix, int padding, + char * formatPrefix, size_t padding, int element) { const char * enc; @@ -180,7 +180,7 @@ static char * armorFormat(rpm_tagtype_t type, rpm_constdata_t data, * @return formatted string */ static char * base64Format(rpm_tagtype_t type, rpm_constdata_t data, - char * formatPrefix, int padding, int element) + char * formatPrefix, size_t padding, int element) { char * val; @@ -256,7 +256,7 @@ static char * xmlstrcpy(char * t, const char * s) * @return formatted string */ static char * xmlFormat(rpm_tagtype_t type, rpm_constdata_t data, - char * formatPrefix, int padding, + char * formatPrefix, size_t padding, int element) { const char * xtag = NULL; @@ -347,7 +347,7 @@ static char * xmlFormat(rpm_tagtype_t type, rpm_constdata_t data, * @return formatted string */ static char * pgpsigFormat(rpm_tagtype_t type, rpm_constdata_t data, - char * formatPrefix, int padding, + char * formatPrefix, size_t padding, int element) { char * val, * t; @@ -454,7 +454,7 @@ static char * pgpsigFormat(rpm_tagtype_t type, rpm_constdata_t data, * @return formatted string */ static char * depflagsFormat(rpm_tagtype_t type, rpm_constdata_t data, - char * formatPrefix, int padding, int element) + char * formatPrefix, size_t padding, int element) { char * val; char buf[10]; |