From: Adam Heath Date: Fri, 20 Apr 2001 23:41:57 +0000 (+0000) Subject: initialize otherpriority with 0, not an int. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16d832086ad1cd69883974648f981c59a4f0439b;p=dpkg initialize otherpriority with 0, not an int. --- 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;