Commit 1723003c authored by Amol Bhave's avatar Amol Bhave Committed by Facebook Github Bot

Fix printf format specifier in Elf.h

Summary:
The format specifier for printf should be %zu to take into account
32bit machines.

Reviewed By: Orvid

Differential Revision: D9665574

fbshipit-source-id: e7019c1deba80addef36ea8f6ebff48b45eceefa
parent f143a3c7
......@@ -246,7 +246,7 @@ class ElfFile {
snprintf(
msg,
sizeof(msg),
"Offset (%lu + %lu) is not contained within our mmapped"
"Offset (%zu + %zu) is not contained within our mmapped"
" file (%s) of length %zu",
offset,
sizeof(T),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment