diff options
Diffstat (limited to 'lib/oldheader.c')
-rw-r--r-- | lib/oldheader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oldheader.c b/lib/oldheader.c index 3682bb169..f6c6fa472 100644 --- a/lib/oldheader.c +++ b/lib/oldheader.c @@ -341,8 +341,8 @@ char * oldrpmfileToInfoStr(struct oldrpmFileInfo * fi) { else buf = malloc(100); - sprintf(buf, "%ld %ld %s %o %d %d %s %s %x ", fi->size, fi->mtime, - fi->md5, fi->mode, fi->uid, fi->gid, + sprintf(buf, "%ld %ld %s %o %d %d %s %s %x ", (long)fi->size, (long)fi->mtime, + fi->md5, fi->mode, (int)fi->uid, (int)fi->gid, fi->isconf ? "1" : "0", fi->isdoc ? "1" : "0", fi->rdev); |