Fix raster.Point.String() for new Printf semantics
R=nigeltao_golang, r2 CC=golang-dev http://codereview.appspot.com/1728041 Committer: Nigel Tao <nigeltao@golang.org>
This commit is contained in:
parent
9858718c4d
commit
bfc68b0d61
|
@ -30,7 +30,7 @@ func (x Fixed) String() string {
|
|||
if f < 0 {
|
||||
f = -f
|
||||
}
|
||||
return fmt.Sprintf("%d:%03d", i, f)
|
||||
return fmt.Sprintf("%d:%03d", int32(i), int32(f))
|
||||
}
|
||||
|
||||
// maxAbs returns the maximum of abs(a) and abs(b).
|
||||
|
|
Loading…
Reference in New Issue
Block a user