From 0c1dd5754491b7d59b14a0dc6dbaa95ab3f18c8c Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 30 Mar 2014 18:11:51 +0200 Subject: [PATCH] grep: fix tab2, use int instead of Rune to be compatible to 16bit rune system --- sys/src/cmd/grep/comp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/src/cmd/grep/comp.c b/sys/src/cmd/grep/comp.c index d74a7bdaa..f7623e3bb 100644 --- a/sys/src/cmd/grep/comp.c +++ b/sys/src/cmd/grep/comp.c @@ -131,17 +131,17 @@ loop: } } -Rune tab1[] = +int tab1[] = { 0x007f, 0x07ff, 0xffff, }; -Rune tab2[] = +int tab2[] = { 0x003f, 0x0fff, - 0xffff, + 0x3ffff, }; Re2