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.c | |
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.c')
-rw-r--r-- | options.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ struct options_t options = { }; char *library[MAX_LIBRARIES]; -int library_num = 0; +size_t library_num = 0; static char *progname; /* Program name (`ltrace') */ int opt_i = 0; /* instruction pointer */ int opt_r = 0; /* print relative timestamp */ |