commit | a82d32209f276e10dd1f437b38b4b6e5de32b980 | [log] [tgz] |
---|---|---|
author | Petr Machata <pmachata@redhat.com> | Tue May 01 01:04:27 2012 +0200 |
committer | Petr Machata <pmachata@redhat.com> | Tue May 01 01:04:27 2012 +0200 |
tree | a56fb75dec17291a37a61a445f345b13cd1686b1 | |
parent | 6ca19a3c08bc75fb451df30f4c6e6c1a128731fe [diff] [blame] |
Fix 32-bit builds
diff --git a/ltrace-elf.c b/ltrace-elf.c index a311c5f..b1af070 100644 --- a/ltrace-elf.c +++ b/ltrace-elf.c
@@ -175,8 +175,8 @@ { assert(data != NULL); if (data->d_size < size || offset > data->d_size - size) { - debug(1, "Not enough data to read %zd-byte value" - " at offset %zd.", size, offset); + debug(1, "Not enough data to read %"PRId64"-byte value" + " at offset %"PRId64".", size, offset); return -1; } return 0;