summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-07-11 13:20:45 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-07-11 13:20:45 +0300
commitd580a904031f6e9c2635dce2fcc984de0f7acf30 (patch)
treee9469aa79e1c6255be20ca4ef6c77c308d245cc4 /lib
parented3e713b17d36308f124b1697dca5e6aa5cf8cce (diff)
downloadlibrpm-tizen-d580a904031f6e9c2635dce2fcc984de0f7acf30.tar.gz
librpm-tizen-d580a904031f6e9c2635dce2fcc984de0f7acf30.tar.bz2
librpm-tizen-d580a904031f6e9c2635dce2fcc984de0f7acf30.zip
More ptr target signedness fixes...
Diffstat (limited to 'lib')
-rw-r--r--lib/psm.c2
-rw-r--r--lib/query.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/psm.c b/lib/psm.c
index 4cf0c9d88..7b78faae1 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 b45215e7d..be39c7049 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++) {