diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-02-07 22:10:43 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-02-07 22:11:53 +0100 |
commit | 61ad99b611c454eaacc8709d313fa7db078eff29 (patch) | |
tree | 461d4797e14618f7b4b13b04e1690e77f3723583 /src/utils.c | |
parent | 99116d0f70f4104b8415f36f8cab9c22c36a069c (diff) | |
download | tdv-61ad99b611c454eaacc8709d313fa7db078eff29.tar.gz tdv-61ad99b611c454eaacc8709d313fa7db078eff29.tar.xz tdv-61ad99b611c454eaacc8709d313fa7db078eff29.zip |
Make more use of xstrtoul()
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c index b7aa5da..7af0c2f 100644 --- a/src/utils.c +++ b/src/utils.c @@ -1,7 +1,7 @@ /* * utils.c: miscellaneous utilities * - * Copyright (c) 2013, Přemysl Janouch <p.janouch@gmail.com> + * Copyright (c) 2013 - 2015, Přemysl Janouch <p.janouch@gmail.com> * All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any @@ -71,7 +71,7 @@ stream_read_string (GDataInputStream *dis, GError **error) return s; } -static bool +gboolean xstrtoul (unsigned long *out, const char *s, int base) { char *end; |