summaryrefslogtreecommitdiff
path: root/scripts/chrpath_linux.c
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-04-12 18:35:44 (GMT)
committerMarius Kintel <marius@kintel.net>2011-04-12 18:35:44 (GMT)
commitd24b3cc84d0701a5423925765e515db7df9614c5 (patch)
tree0d63867d8b5a3c6ffe107371caa6b29cf8ad0f02 /scripts/chrpath_linux.c
parent633343c47e0d2bced64d47f62e814489b8e76dc2 (diff)
parent1754a970a76c071fff91cc7c716aa0b78b4ac6be (diff)
Ported recent changes to master into the visitor branch
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