From 53e9ca890bcfc22578f283e5bbaa50fcdb3fa5bb Mon Sep 17 00:00:00 2001 From: jst Date: Wed, 18 Mar 2015 20:19:43 +0100 Subject: [PATCH] Fix typos. --- converter.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/converter.go b/converter.go index faf49e4..254592a 100644 --- a/converter.go +++ b/converter.go @@ -20,9 +20,9 @@ import "image" // Keep value in [0,255] range. func clampUint8(in int32) uint8 { - // casting a negative int to an uint will result in an overflown large int. - // this behavior will be exploited here and in other functions to archive - // a higher performance. + // casting a negative int to an uint will result in an overflown + // large uint. this behavior will be exploited here and in other functions + // to achieve a higher performance. if uint32(in) < 256 { return uint8(in) }