removed cast

This commit is contained in:
Randy Jordan 2025-07-13 14:45:35 -05:00
parent 4d90e7dba7
commit 26c54d450a
Signed by: Randy-Jordan
GPG Key ID: 153FF450FDC74D1A

View File

@ -10,11 +10,11 @@ static int to_lower(char c) {
}
SV sv_str(const char *s){
SV str = {s == NULL ? 0 : strlen(s), (char *)s};
SV str = {s == NULL ? 0 : strlen(s), s};
return str;
}
SV sv_strn(const char *s, size_t len){
SV str = {len, (char *) s};
SV str = {len, s};
return str;
}
SV sv_trim(SV s){