X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/7111aba92b83fff6b0ac8637dd1f6e2fa287ac8c..1e40137c8f82911cdd866b1c7d614c4a18725305:/sbr/utils.c diff --git a/sbr/utils.c b/sbr/utils.c index 1b1b4738..cf920a39 100644 --- a/sbr/utils.c +++ b/sbr/utils.c @@ -429,7 +429,7 @@ nmh_version_changed (int older) { if (older) { /* Convert the version strings to floats and compare them. This will break for versions with multiple decimal points, etc. */ - const float current_version = strtod (VERSION, NULL); + const float current_version = strtof (VERSION, NULL); const float old_version = context_version && strncmp (context_version, "nmh-", 4) == 0 ? strtof (context_version + 4, NULL)