diff options
Diffstat (limited to 'build/spec.c')
-rw-r--r-- | build/spec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/spec.c b/build/spec.c index 23cd918bd..c5915eb77 100644 --- a/build/spec.c +++ b/build/spec.c @@ -200,7 +200,7 @@ static inline struct Source *findSource(rpmSpec spec, int num, int flag) return NULL; } -int parseNoSource(rpmSpec spec, const char * field, rpm_tag_t tag) +int parseNoSource(rpmSpec spec, const char * field, rpmTag tag) { const char *f, *fe; const char *name; @@ -244,7 +244,7 @@ int parseNoSource(rpmSpec spec, const char * field, rpm_tag_t tag) return 0; } -int addSource(rpmSpec spec, Package pkg, const char *field, rpm_tag_t tag) +int addSource(rpmSpec spec, Package pkg, const char *field, rpmTag tag) { struct Source *p; int flag = 0; @@ -255,7 +255,7 @@ int addSource(rpmSpec spec, Package pkg, const char *field, rpm_tag_t tag) int num = 0; buf[0] = '\0'; - switch (tag) { + switch ((rpm_tag_t) tag) { case RPMTAG_SOURCE: flag = RPMBUILD_ISSOURCE; name = "source"; |