From 92f0468559d926f026510539dbbdc90133d7054e Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 12 Mar 2008 16:40:50 -0400 Subject: [PATCH] 64-bit fixes --- rpm.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rpm.c b/rpm.c index 8274ff5..ba6dbe0 100644 --- a/rpm.c +++ b/rpm.c @@ -123,7 +123,7 @@ static void import_files(struct razor_importer *importer, struct razor_rpm *rpm) { const char *name; - const unsigned long *index; + const uint32_t *index; unsigned int i, count; char buffer[256]; @@ -450,7 +450,7 @@ razor_rpm_install(struct razor_rpm *rpm, const char *root) struct installer installer; unsigned int count, i, length; struct cpio_file_header *header; - const unsigned long *size, *index, *flags; + const uint32_t *size, *index, *flags; const unsigned short *mode; const char *name, *dir; struct stat buf; -- 1.7.1