From: David Levine Date: Thu, 6 Oct 2016 16:45:52 +0000 (-0400) Subject: Replaced strtod() with strtof(). X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/dffeac1b8759bbedb385d0d2003a6d4c6c008cd5?hp=b90476d799a2580fbd69e13325c56be5d56e1396 Replaced strtod() with strtof(). --- 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)