summaryrefslogtreecommitdiffstats
path: root/src/readelf.c
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2010-02-15 15:16:15 -0800
committerRoland McGrath <[email protected]>2010-02-15 15:16:15 -0800
commitc2b26f15b23b3b360c9db83bca444d7c0afc9e94 (patch)
tree1f7de7f53136de6c303ada59f68769525628e898 /src/readelf.c
parente9ca738afcb9cb00d747ef2f072f82a092eaaaff (diff)
Fix compiler warning nit in readelf.
Diffstat (limited to 'src/readelf.c')
-rw-r--r--src/readelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/readelf.c b/src/readelf.c
index 7b687d75..7b3c4f8b 100644
--- a/src/readelf.c
+++ b/src/readelf.c
@@ -4918,7 +4918,7 @@ print_debug_frame_section (Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr,
unsigned int augmentationlen;
get_uleb128 (augmentationlen, readp);
- if (augmentationlen > dataend - readp)
+ if (augmentationlen > (size_t) (dataend - readp))
error (1, 0, gettext ("invalid augmentation length"));
const char *hdr = "Augmentation data:";