Module Name: src Committed By: christos Date: Sat Mar 3 23:27:51 UTC 2018
Modified Files: src/sys/arch/dreamcast/dev/g2: aica.c Log Message: this ain't python, thanks gcc6. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/arch/dreamcast/dev/g2/aica.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/dreamcast/dev/g2/aica.c diff -u src/sys/arch/dreamcast/dev/g2/aica.c:1.23 src/sys/arch/dreamcast/dev/g2/aica.c:1.24 --- src/sys/arch/dreamcast/dev/g2/aica.c:1.23 Tue Jul 25 19:18:04 2017 +++ src/sys/arch/dreamcast/dev/g2/aica.c Sat Mar 3 18:27:51 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: aica.c,v 1.23 2017/07/25 23:18:04 nat Exp $ */ +/* $NetBSD: aica.c,v 1.24 2018/03/03 23:27:51 christos Exp $ */ /* * Copyright (c) 2003 SHIMIZU Ryo <r...@misakimix.org> @@ -29,7 +29,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: aica.c,v 1.23 2017/07/25 23:18:04 nat Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aica.c,v 1.24 2018/03/03 23:27:51 christos Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -414,8 +414,9 @@ aica_ch2p8write(struct aica_softc *sc, b if (len) { p = (uint8_t *)buf; - for (i = 0; i < len; i++) + for (i = 0; i < len; i++) { *p++ = *src++; src++; + } aica_g2fifo_wait(); bus_space_write_region_4(sc->sc_memt, sc->sc_aica_memh,