diff options
author | Zachary T Welch <zwelch@codesourcery.com> | 2010-12-08 18:55:09 -0800 |
---|---|---|
committer | Joe Damato <ice799@gmail.com> | 2010-12-10 00:39:21 -0800 |
commit | ba6aca21bd9e0e66dac17b1828cf6b6e7377b983 (patch) | |
tree | b0ad829909e0ff24994d14a8b7851ac4e5738811 /options.h | |
parent | dd1352379a16ae982041f6be4fa62e3bf0dab7fb (diff) | |
download | ltrace-ba6aca21bd9e0e66dac17b1828cf6b6e7377b983.tar.gz |
Fix building with --enable-debug
Numerous warnings had snuck into the build, preventing ltrace from
building with --enable-debug (which uses -Wall, -Werror, and more).
This patch fixes the problems, mostly caused by -Wsign-compare.
Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,8 +11,8 @@ struct options_t { FILE *output; /* output to a specific file */ int summary; /* count time, calls, and report a summary on program exit */ int debug; /* debug */ - int arraylen; /* default maximum # of array elements printed */ - int strlen; /* default maximum # of bytes printed in strings */ + size_t arraylen; /* default maximum # of array elements printed */ + size_t strlen; /* default maximum # of bytes printed in strings */ int follow; /* trace child processes */ int no_plt; /* set bps on PLT entries */ int no_signals; /* don't print signals */ |