From 8d3c4c81f36f966d53923db23021487d903eee9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Wed, 3 Feb 2016 11:28:56 -0500 Subject: i8257: add missing const MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Hervé Poussineau Message-id: 1453843944-26833-8-git-send-email-hpoussin@reactos.org Signed-off-by: John Snow --- hw/dma/i8257.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/dma') diff --git a/hw/dma/i8257.c b/hw/dma/i8257.c index e577ed46c9..0e5ebc14c8 100644 --- a/hw/dma/i8257.c +++ b/hw/dma/i8257.c @@ -87,7 +87,7 @@ enum { static void i8257_dma_run(void *opaque); -static int channels[8] = {-1, 2, 3, 1, -1, -1, -1, 0}; +static const int channels[8] = {-1, 2, 3, 1, -1, -1, -1, 0}; static void i8257_write_page(void *opaque, uint32_t nport, uint32_t data) { -- cgit v1.2.3