diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-01-30 16:04:40 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-01-30 16:04:40 +0200 |
commit | d2efb5d77c0a3a2f5919d40efe5e163254422b6f (patch) | |
tree | 7fc86609eb75acea785b47cace1618ef17ae88a0 /lib/legacy.c | |
parent | 87e01f336262f3738211c0426304590ed16284f8 (diff) | |
download | rpm-d2efb5d77c0a3a2f5919d40efe5e163254422b6f.tar.gz rpm-d2efb5d77c0a3a2f5919d40efe5e163254422b6f.tar.bz2 rpm-d2efb5d77c0a3a2f5919d40efe5e163254422b6f.zip |
Use rpmsenseFlags type for dependency flags everywhere (hopefully)
Diffstat (limited to 'lib/legacy.c')
-rw-r--r-- | lib/legacy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/legacy.c b/lib/legacy.c index 86a205ba2..dda035b34 100644 --- a/lib/legacy.c +++ b/lib/legacy.c @@ -147,11 +147,11 @@ void providePackageNVR(Header h) int32_t * epoch; const char *pEVR; char *p; - int32_t pFlags = RPMSENSE_EQUAL; + rpmsenseFlags pFlags = RPMSENSE_EQUAL; const char ** provides = NULL; const char ** providesEVR = NULL; rpm_tagtype_t pnt, pvt; - int32_t * provideFlags = NULL; + rpmsenseFlags * provideFlags = NULL; rpm_count_t providesCount, i; int xx; int bingo = 1; @@ -182,7 +182,7 @@ void providePackageNVR(Header h) if (!hge(h, RPMTAG_PROVIDEVERSION, &pvt, (rpm_data_t *) &providesEVR, NULL)) { for (i = 0; i < providesCount; i++) { const char * vdummy = ""; - int32_t fdummy = RPMSENSE_ANY; + rpmsenseFlags fdummy = RPMSENSE_ANY; xx = headerAddOrAppendEntry(h, RPMTAG_PROVIDEVERSION, RPM_STRING_ARRAY_TYPE, &vdummy, 1); xx = headerAddOrAppendEntry(h, RPMTAG_PROVIDEFLAGS, RPM_INT32_TYPE, |