summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-14 11:38:20 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-14 11:38:20 +0200
commit8946859700432de2f8462b672a7d3d3790b09a76 (patch)
tree89f361c7cae5d61e475a76fe675ccaff53e6fcf4 /build
parent00eea2ffa02db546dac707f4f32595f915062a1d (diff)
downloadlibrpm-tizen-8946859700432de2f8462b672a7d3d3790b09a76.tar.gz
librpm-tizen-8946859700432de2f8462b672a7d3d3790b09a76.tar.bz2
librpm-tizen-8946859700432de2f8462b672a7d3d3790b09a76.zip
More size_t type pedantry
Diffstat (limited to 'build')
-rw-r--r--build/parsePreamble.c2
-rw-r--r--build/parseSpec.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/parsePreamble.c b/build/parsePreamble.c
index 2da6d148a..f04be6e43 100644
--- a/build/parsePreamble.c
+++ b/build/parsePreamble.c
@@ -676,7 +676,7 @@ static int handlePreambleTag(rpmSpec spec, Package pkg, rpm_tag_t tag,
*/
typedef struct PreambleRec_s {
rpm_tag_t tag;
- int len;
+ size_t len;
int multiLang;
int obsolete;
const char * token;
diff --git a/build/parseSpec.c b/build/parseSpec.c
index d4edab859..86a0c2107 100644
--- a/build/parseSpec.c
+++ b/build/parseSpec.c
@@ -19,7 +19,7 @@
*/
static struct PartRec {
int part;
- int len;
+ size_t len;
const char * token;
} partList[] = {
{ PART_PREAMBLE, 0, "%package"},