From bfc68b0d615956f9ac98b152b5cc3036245f719e Mon Sep 17 00:00:00 2001 From: Roger Peppe Date: Fri, 18 Jun 2010 11:19:04 +1000 Subject: [PATCH] Fix raster.Point.String() for new Printf semantics R=nigeltao_golang, r2 CC=golang-dev http://codereview.appspot.com/1728041 Committer: Nigel Tao --- freetype/raster/raster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freetype/raster/raster.go b/freetype/raster/raster.go index e3038d2..b308d90 100644 --- a/freetype/raster/raster.go +++ b/freetype/raster/raster.go @@ -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).