summaryrefslogtreecommitdiff
path: root/tools/updater/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/updater/string.c')
-rw-r--r--tools/updater/string.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/updater/string.c b/tools/updater/string.c
index 50537a6..8a8edec 100644
--- a/tools/updater/string.c
+++ b/tools/updater/string.c
@@ -129,8 +129,8 @@ char * strrchr(const char * s, int c)
{
const char *p = s + strlen(s);
do {
- if (*p == (char)c)
- return (char *)p;
+ if (*p == (char)c)
+ return (char *)p;
} while (--p >= s);
return NULL;
}
@@ -316,7 +316,7 @@ void * memscan(void * addr, int c, size_t size)
p++;
size--;
}
- return (void *) p;
+ return (void *) p;
}
#endif