mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 20:58:22 +00:00
Fix loop end test in lib_generic/string.c:strswab()
Patch by Andrew Dyer, October 10, 2005 Signed-off-by: Andrew Dyer <amdyer@gmail.com>
This commit is contained in:
parent
9b880bd4d8
commit
e5e98edd77
2 changed files with 5 additions and 1 deletions
|
@ -2,6 +2,10 @@
|
||||||
Changes for U-Boot 1.1.4:
|
Changes for U-Boot 1.1.4:
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
|
* Fix loop end test in lib_generic/string.c:strswab()
|
||||||
|
Patch by Andrew Dyer, October 10, 2005
|
||||||
|
Signed-off-by: Andrew Dyer <amdyer@gmail.com>
|
||||||
|
|
||||||
* Cleanup
|
* Cleanup
|
||||||
|
|
||||||
* Update ARM Integrator boards:
|
* Update ARM Integrator boards:
|
||||||
|
|
|
@ -380,7 +380,7 @@ char *strswab(const char *s)
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (p=(char *)s, q=p+1; (*p != '\0') && (*p != '\0'); p+=2, q+=2) {
|
for (p=(char *)s, q=p+1; (*p != '\0') && (*q != '\0'); p+=2, q+=2) {
|
||||||
char tmp;
|
char tmp;
|
||||||
|
|
||||||
tmp = *p;
|
tmp = *p;
|
||||||
|
|
Loading…
Add table
Reference in a new issue