aboutsummaryrefslogtreecommitdiff
path: root/options.h
diff options
context:
space:
mode:
authorZachary T Welch <zwelch@codesourcery.com>2010-12-08 18:55:09 -0800
committerJoe Damato <ice799@gmail.com>2010-12-10 00:39:21 -0800
commitba6aca21bd9e0e66dac17b1828cf6b6e7377b983 (patch)
treeb0ad829909e0ff24994d14a8b7851ac4e5738811 /options.h
parentdd1352379a16ae982041f6be4fa62e3bf0dab7fb (diff)
downloadltrace-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/options.h b/options.h
index 9079cbf..9a00629 100644
--- a/options.h
+++ b/options.h
@@ -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 */