diff options
Diffstat (limited to 'common/bedbug.c')
-rw-r--r-- | common/bedbug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/bedbug.c b/common/bedbug.c index 18a35ca23e..6e1fb58080 100644 --- a/common/bedbug.c +++ b/common/bedbug.c @@ -1005,7 +1005,7 @@ 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); |