From d580a904031f6e9c2635dce2fcc984de0f7acf30 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 11 Jul 2007 13:20:45 +0300 Subject: [PATCH] More ptr target signedness fixes... --- lib/psm.c | 2 +- lib/query.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/psm.c b/lib/psm.c index 4cf0c9d..7b78faa 100644 --- a/lib/psm.c +++ b/lib/psm.c @@ -380,7 +380,7 @@ rpmRC rpmInstallSourcePackage(rpmts ts, FD_t fd, + fi->fc * sizeof(*fi->dil) + speclen + sourcelen); /*@-dependenttrans@*/ - fi->dil = (int *)(fi->dnl + fi->dc); + fi->dil = (unsigned int *)(fi->dnl + fi->dc); /*@=dependenttrans@*/ memset(fi->dil, 0, fi->fc * sizeof(*fi->dil)); fi->dil[i] = 1; diff --git a/lib/query.c b/lib/query.c index b45215e..be39c70 100644 --- a/lib/query.c +++ b/lib/query.c @@ -221,7 +221,7 @@ int showQueryPackage(QVA_t qva, rpmts ts, Header h) fn = rpmfiFN(fi); /*@-bounds@*/ { static char hex[] = "0123456789abcdef"; - const char * s = rpmfiMD5(fi); + unsigned const char * s = rpmfiMD5(fi); char * p = fmd5; int j; for (j = 0; j < 16; j++) { -- 2.7.4