projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
global: Convert simple_strtoul() with decimal to dectoul()
[platform/kernel/u-boot.git]
/
common
/
bedbug.c
diff --git
a/common/bedbug.c
b/common/bedbug.c
index
6e1fb58
..
c76fa48
100644
(file)
--- a/
common/bedbug.c
+++ b/
common/bedbug.c
@@
-1007,7
+1007,7
@@
long read_number (char *txt)
if (txt[0] == '0' && (txt[1] == 'x' || txt[1] == 'X')) /* hex */
val = hextoul(&txt[2], NULL);
else /* decimal */
- val =
simple_strtoul (txt, NULL, 10
);
+ val =
dectoul(txt, NULL
);
if (is_neg)
val = -val;