From 1794a11b93284b7a1e3dbf100092be14a9bcd65f Mon Sep 17 00:00:00 2001 From: clifford Date: Fri, 21 Jan 2011 18:34:36 +0000 Subject: Clifford Wolf: Tiny fix in chrpath_linux for 64 bit (but it still does only work on 32 bit binaries) git-svn-id: http://svn.clifford.at/openscad/trunk@592 b57f626f-c46c-0410-a088-ec61d464b74c diff --git a/scripts/chrpath_linux.c b/scripts/chrpath_linux.c index 000244a..685913c 100644 --- a/scripts/chrpath_linux.c +++ b/scripts/chrpath_linux.c @@ -476,7 +476,7 @@ elf_open(const char *filename, int flags, Elf_Ehdr *ehdr) if (ehdr->e_phentsize != sizeof(Elf_Phdr)) { fprintf(stderr, "section size was read as %d, not %d!\n", - ehdr->e_phentsize, sizeof(Elf_Phdr)); + ehdr->e_phentsize, (int)sizeof(Elf_Phdr)); close(fd); return -1; } -- cgit v0.10.1