use a more-correct integer type, and silence 64-bit warnings as a bonus
[musl] / src / string / strcat.c
1 #include <string.h>
2
3 char *strcat(char *dest, const char *src)
4 {
5         strcpy(dest + strlen(dest), src);
6         return dest;
7 }