summaryrefslogtreecommitdiff
path: root/rpmio/rpmrpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpmio/rpmrpc.c')
-rw-r--r--rpmio/rpmrpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/rpmrpc.c b/rpmio/rpmrpc.c
index d04594e5c..0d2bcf37a 100644
--- a/rpmio/rpmrpc.c
+++ b/rpmio/rpmrpc.c
@@ -1190,7 +1190,7 @@ fprintf(stderr, "*** ftpOpendir(%s)\n", path);
/*@-abstract@*/
dp = (struct dirent *) (avdir + 1);
av = (const char **) (dp + 1);
- dt = (char *) (av + (ac + 1));
+ dt = (unsigned char *) (av + (ac + 1));
t = (char *) (dt + ac + 1);
/*@=abstract@*/