summaryrefslogtreecommitdiff
path: root/src/lib/reflect/tostring.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/reflect/tostring.go')
-rw-r--r--src/lib/reflect/tostring.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/reflect/tostring.go b/src/lib/reflect/tostring.go
index eb5dc20c5..2c9853af6 100644
--- a/src/lib/reflect/tostring.go
+++ b/src/lib/reflect/tostring.go
@@ -153,7 +153,7 @@ func ValueToString(val Value) string {
case Uint64Kind:
return integer(int64(val.(Uint64Value).Get()));
case FloatKind:
- if strconv.floatsize == 32 {
+ if strconv.FloatSize == 32 {
return strconv.ftoa32(float32(val.(FloatValue).Get()), 'g', -1);
} else {
return strconv.ftoa64(float64(val.(FloatValue).Get()), 'g', -1);