summaryrefslogtreecommitdiff
path: root/scripts/chrpath_linux.c
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2011-01-21 18:34:36 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2011-01-21 18:34:36 (GMT)
commit1794a11b93284b7a1e3dbf100092be14a9bcd65f (patch)
tree8b33f0ece3cb28d4b6288de9073c4c3e97faf667 /scripts/chrpath_linux.c
parent550a2700536c1cc507cc0da7a5c7944661c0d891 (diff)
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
Diffstat (limited to 'scripts/chrpath_linux.c')
-rw-r--r--scripts/chrpath_linux.c2
1 files changed, 1 insertions, 1 deletions
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;
}
contact: Jan Huwald // Impressum