diff options
author | Mark Probst <mark.probst@gmail.com> | 2010-05-28 09:25:18 +0400 |
---|---|---|
committer | Mark Probst <mark.probst@gmail.com> | 2010-05-28 09:25:18 +0400 |
commit | 57d3918d4656704d1ccf30e7f3d2ec22420e19b2 (patch) | |
tree | 3a9fabac46a52e7791ac763f60f930d0d886cb8f /tools | |
parent | 4b0cd3b6179e663ea4472844ab1f244add0a553c (diff) |
2010-05-28 Mark Probst <mark.probst@gmail.com>
* tools/sgen/sgen-grep-binprot.c (main): Use strtoul(), not
strtol(), to parse addresses from the command line.
svn path=/trunk/mono/; revision=158077
Diffstat (limited to 'tools')
-rw-r--r-- | tools/sgen/sgen-grep-binprot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sgen/sgen-grep-binprot.c b/tools/sgen/sgen-grep-binprot.c index 67a9b3f211e..1bc8b93a96a 100644 --- a/tools/sgen/sgen-grep-binprot.c +++ b/tools/sgen/sgen-grep-binprot.c @@ -193,7 +193,7 @@ main (int argc, char *argv[]) long nums [num_nums]; for (i = 0; i < num_nums; ++i) - nums [i] = strtol (argv [i + 1], NULL, 16); + nums [i] = strtoul (argv [i + 1], NULL, 16); while ((type = read_entry (stdin, &data)) != SGEN_PROTOCOL_EOF) { gboolean match = FALSE; |