1
0
mirror of https://github.com/golang/go synced 2024-11-20 06:24:40 -07:00

Fix typo in exp/draw/x11.

R=rsc
CC=golang-dev
https://golang.org/cl/1282041
This commit is contained in:
Nigel Tao 2010-05-24 15:07:47 -07:00
parent 934a520d75
commit c95e11db56

View File

@ -319,7 +319,7 @@ func readU32LE(r io.Reader, b []byte) (uint32, os.Error) {
return uint32(b[0]) | uint32(b[1])<<8 | uint32(b[2])<<16 | uint32(b[3])<<24, nil
}
// setU32LE sets b[0:4] to be the big-endian representation of u.
// setU32LE sets b[0:4] to be the little-endian representation of u.
func setU32LE(b []byte, u uint32) {
b[0] = byte((u >> 0) & 0xff)
b[1] = byte((u >> 8) & 0xff)