diff --git a/Dlls/Dlls.csproj b/Dlls/Dlls.csproj index aec5c0b..419c771 100644 --- a/Dlls/Dlls.csproj +++ b/Dlls/Dlls.csproj @@ -8,7 +8,6 @@ Dlls Dlls 512 - v4.6.1 true diff --git a/video/subtitles.cpp b/video/subtitles.cpp index 3c835c5..7690aca 100644 --- a/video/subtitles.cpp +++ b/video/subtitles.cpp @@ -94,7 +94,7 @@ std::string fromAss(const char* ass) { } } ret++; - int p = strcspn(b.c_str(), "\r\n"); + const auto p = strcspn(b.c_str(), "\r\n"); if (p == b.size()) //not found return ret;