From 20c14efad6487b0a09ecd661680321afa240bc0b Mon Sep 17 00:00:00 2001 From: Xiao-Yong Jin Date: Fri, 29 Jan 2021 05:30:08 +0000 Subject: xd: fix swizz8 loop counting --- src/cmd/xd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/xd.c') diff --git a/src/cmd/xd.c b/src/cmd/xd.c index 9f83e1cf..2cfbcfd1 100644 --- a/src/cmd/xd.c +++ b/src/cmd/xd.c @@ -327,7 +327,7 @@ swizz8(void) *q++ = *p++; p = data; q = swdata; - for(i=0; i<8; i++){ + for(i=0; i<2; i++){ p[0] = q[7]; p[1] = q[6]; p[2] = q[5]; -- cgit v1.2.3