diff --git a/src/security/jwt.c b/src/security/jwt.c index ca56b1d..00f916d 100644 --- a/src/security/jwt.c +++ b/src/security/jwt.c @@ -7,7 +7,7 @@ #include // Удаляет символы '=' в конце строки (падинг) -static void remove_padding(const char *str) { +static void remove_padding(char *str) { char *pos = strchr(str, '\0'); while (pos > str && *(pos - 1) == '=') { *(--pos) = '\0';