From 16d832086ad1cd69883974648f981c59a4f0439b Mon Sep 17 00:00:00 2001 From: Adam Heath Date: Fri, 20 Apr 2001 23:41:57 +0000 Subject: [PATCH] initialize otherpriority with 0, not an int. --- ChangeLog | 4 ++++ lib/database.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8417481d..59bd8a2a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Apr 20 18:18:20 CDT 2001 Adam Heath + + * lib/database.c: initialize otherpriority with 0, not an int. + Sat Apr 21 00:43:41 CEST 2001 Wichert Akkerman * lib/parse.c: swap order for %.*s formats diff --git a/lib/database.c b/lib/database.c index 21a19fa7..a70b79cc 100644 --- a/lib/database.c +++ b/lib/database.c @@ -117,7 +117,7 @@ void blankpackage(struct pkginfo *pigp) { pigp->eflag= eflagv_ok; pigp->want= want_unknown; pigp->priority= pri_unknown; - pigp->otherpriority = pri_unknown; + pigp->otherpriority = 0; pigp->section= 0; blankversion(&pigp->configversion); pigp->files= 0; -- 2.39.5