patch-2.4.0-test2 linux/drivers/isdn/isdn_audio.c

Next file: linux/drivers/isdn/isdn_common.c
Previous file: linux/drivers/isdn/hysdn/hysdn_init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/drivers/isdn/isdn_audio.c linux/drivers/isdn/isdn_audio.c
@@ -307,8 +307,10 @@
 	:	"0"((long) table), "1"(n), "2"((long) buff), "3"((long) buff)
 	:	"memory", "ax");
 #else
+	unsigned char* b = (unsigned char*) buff;
+	unsigned char* t = (unsigned char*) table;
 	while (n--)
-		*buff++ = table[*(unsigned char *)buff];
+		*b++ = t[*b];
 #endif
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)