mysqldef: Address comment

This commit is contained in:
siddontang
2015-09-19 16:03:43 +08:00
parent 89f30c18af
commit a478ff93da

View File

@ -48,7 +48,7 @@ func (b Bit) ToString() string {
byteSize := (b.Width + 7) / 8
buf := make([]byte, byteSize)
for i := byteSize - 1; i >= 0; i-- {
buf[len(buf)-i-1] = byte(b.Value >> uint(i*8))
buf[byteSize-i-1] = byte(b.Value >> uint(i*8))
}
return string(buf)
}