diff options
Diffstat (limited to 'common/bedbug.c')
-rw-r--r-- | common/bedbug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/bedbug.c b/common/bedbug.c index 18a35ca23ef..c76fa4898c8 100644 --- a/common/bedbug.c +++ b/common/bedbug.c @@ -1005,9 +1005,9 @@ long read_number (char *txt) } if (txt[0] == '0' && (txt[1] == 'x' || txt[1] == 'X')) /* hex */ - val = simple_strtoul (&txt[2], NULL, 16); + val = hextoul(&txt[2], NULL); else /* decimal */ - val = simple_strtoul (txt, NULL, 10); + val = dectoul(txt, NULL); if (is_neg) val = -val; |