aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libc/string/strdisp.c
diff options
context:
space:
mode:
authorMarvin Borner2020-04-29 21:16:56 +0200
committerMarvin Borner2020-04-29 21:16:56 +0200
commit0f54f0de1004c6e9a455c295dc76879ac37a408f (patch)
treeb3a6b086f33689fe887fdfcf80fa4e749b07d119 /src/userspace/libc/string/strdisp.c
parent4546c75d685475d8b9f215b588364e1d1bbd0b79 (diff)
Fixed several warnings, errors and dumb bugs
Diffstat (limited to 'src/userspace/libc/string/strdisp.c')
-rw-r--r--src/userspace/libc/string/strdisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userspace/libc/string/strdisp.c b/src/userspace/libc/string/strdisp.c
index 7e8c05a..88815ef 100644
--- a/src/userspace/libc/string/strdisp.c
+++ b/src/userspace/libc/string/strdisp.c
@@ -3,7 +3,7 @@
void strdisponce(char *str)
{
- for (u8 i = sizeof(str) + 2; i > 0; i--)
+ for (u32 i = sizeof(str) + 2; i > 0; i--)
str[i] = str[i - 1];
str[0] = 0;
}