diff --git a/src/runtime/c/gu/string.c b/src/runtime/c/gu/string.c index 7655b32ab..dc9913002 100644 --- a/src/runtime/c/gu/string.c +++ b/src/runtime/c/gu/string.c @@ -280,7 +280,7 @@ gu_string_to_double(GuString s, double *res) bool neg = false; bool dec = false; - int exp = 1; + double exp = 1; if (src[i] == '-') { neg = true;