This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=31cdb7e05970744bca91977b0212b4eeee5fb420

commit 31cdb7e05970744bca91977b0212b4eeee5fb420
Author: Guillem Jover <[email protected]>
AuthorDate: Tue Jun 5 05:30:52 2018 +0200

    libdpkg: Turn variable into unsigned to match format string
    
    Warned-by: cppcheck
---
 lib/dpkg/db-ctrl-format.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/dpkg/db-ctrl-format.c b/lib/dpkg/db-ctrl-format.c
index f124ada61..a7c521773 100644
--- a/lib/dpkg/db-ctrl-format.c
+++ b/lib/dpkg/db-ctrl-format.c
@@ -41,7 +41,7 @@ static enum pkg_infodb_format
 pkg_infodb_parse_format(const char *file)
 {
        FILE *fp;
-       int format;
+       unsigned int format;
 
        fp = fopen(file, "r");
        if (fp == NULL) {

-- 
Dpkg.Org's dpkg

Reply via email to