make safe for new package local defaults

R=r
DELTA=462  (9 added, 33 deleted, 420 changed)
OCL=22879
CL=22885
This commit is contained in:
Russ Cox 2009-01-15 16:16:42 -08:00
parent 1d74892178
commit b54133d200
17 changed files with 406 additions and 403 deletions

View file

@ -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);