diff --git a/src/main.cpp b/src/main.cpp index f588fce..c537165 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -503,7 +503,7 @@ int main(int argc, char** argv) pattern_format = optarg; break; case L'q': - quality = atof(optarg); + quality = _wtof(optarg); break; case L'v': verbose = 1;