From: Dan Winship Date: Wed, 12 Mar 2008 20:40:50 +0000 (-0400) Subject: 64-bit fixes X-Git-Tag: 0.1~188 X-Git-Url: http://project.juiblex.co.uk/git/?a=commitdiff_plain;h=92f0468559d926f026510539dbbdc90133d7054e;p=razor.git 64-bit fixes --- 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;