summaryrefslogtreecommitdiff
path: root/rpmio/rpmlog.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-01-18 22:51:30 +0000
committerjbj <devnull@localhost>2002-01-18 22:51:30 +0000
commitc74fa2496545a34868e93ab830b304033781cde3 (patch)
treeb02775ad932ceb3dd34c99b157e5b25e3506accf /rpmio/rpmlog.h
parent3ef59667d3d4c6e2c4a64d53dc60472abb607e26 (diff)
downloadrpm-c74fa2496545a34868e93ab830b304033781cde3.tar.gz
rpm-c74fa2496545a34868e93ab830b304033781cde3.tar.bz2
rpm-c74fa2496545a34868e93ab830b304033781cde3.zip
- missing key(s) on keyring when verifying a signature is now an error.
- remove dependency whiteout. - splint fiddles. CVS patchset: 5255 CVS date: 2002/01/18 22:51:30
Diffstat (limited to 'rpmio/rpmlog.h')
-rw-r--r--rpmio/rpmlog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmio/rpmlog.h b/rpmio/rpmlog.h
index 467c4b313..3a5460c33 100644
--- a/rpmio/rpmlog.h
+++ b/rpmio/rpmlog.h
@@ -133,8 +133,8 @@ CODE facilitynames[] =
/*
* arguments to setlogmask.
*/
-#define RPMLOG_MASK(pri) (1 << (pri)) /*!< mask for one priority */
-#define RPMLOG_UPTO(pri) ((1 << ((pri)+1)) - 1) /*!< all priorities through pri */
+#define RPMLOG_MASK(pri) (1 << ((unsigned)(pri))) /*!< mask for one priority */
+#define RPMLOG_UPTO(pri) ((1 << (((unsigned)(pri))+1)) - 1) /*!< all priorities through pri */
/*
* Option flags for openlog.