projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arm_adi_v5: simplify handling of AP type
[fw/openocd]
/
src
/
helper
/
binarybuffer.c
diff --git
a/src/helper/binarybuffer.c
b/src/helper/binarybuffer.c
index 49e347b6e1df3ef4e68e2b86225901df288074c6..e2dfa87b606aeafdb1fb04459291947117516991 100644
(file)
--- a/
src/helper/binarybuffer.c
+++ b/
src/helper/binarybuffer.c
@@
-222,7
+222,7
@@
static void str_radix_guess(const char **_str, unsigned *_str_len,
unsigned *_radix)
{
unsigned radix = *_radix;
- if (
0 != radix
)
+ if (
radix != 0
)
return;
const char *str = *_str;
unsigned str_len = *_str_len;