diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-02-05 12:12:31 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-02-05 12:12:31 +0200 |
commit | 630a5a4c1a34f12ae264cba870005de0858353e6 (patch) | |
tree | b41a60681da0f7e77f13a9e5dd9760ed8d10f5ce /lib/rpmte.c | |
parent | b12cb085232a586ebca8673ee766d9d6e826c8dd (diff) | |
download | rpm-630a5a4c1a34f12ae264cba870005de0858353e6.tar.gz rpm-630a5a4c1a34f12ae264cba870005de0858353e6.tar.bz2 rpm-630a5a4c1a34f12ae264cba870005de0858353e6.zip |
Add rpm_color_t type for rpm color bits, use where spotted
Diffstat (limited to 'lib/rpmte.c')
-rw-r--r-- | lib/rpmte.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/rpmte.c b/lib/rpmte.c index 3de5d1e25..67c218d01 100644 --- a/lib/rpmte.c +++ b/lib/rpmte.c @@ -285,14 +285,14 @@ int rpmteIsSource(rpmte te) return (te != NULL ? te->isSource : 0); } -uint32_t rpmteColor(rpmte te) +rpm_color_t rpmteColor(rpmte te) { return (te != NULL ? te->color : 0); } -uint32_t rpmteSetColor(rpmte te, uint32_t color) +rpm_color_t rpmteSetColor(rpmte te, rpm_color_t color) { - int ocolor = 0; + rpm_color_t ocolor = 0; if (te != NULL) { ocolor = te->color; te->color = color; @@ -512,9 +512,9 @@ void rpmteColorDS(rpmte te, rpm_tag_t tag) char deptype = 'R'; char mydt; const uint32_t * ddict; - int32_t * colors; + rpm_color_t * colors; int32_t * refs; - int32_t val; + rpm_color_t val; int Count; size_t nb; unsigned ix; |