summaryrefslogtreecommitdiff
path: root/sys/src/cmd/grep
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-03-30 18:11:51 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-03-30 18:11:51 +0200
commit0c1dd5754491b7d59b14a0dc6dbaa95ab3f18c8c (patch)
tree5a3f65eeef37f9c86d009d444fbc85c9a8798351 /sys/src/cmd/grep
parent4d0a446123daebf8d9de77f5359e49229fe1eeb8 (diff)
grep: fix tab2, use int instead of Rune to be compatible to 16bit rune system
Diffstat (limited to 'sys/src/cmd/grep')
-rw-r--r--sys/src/cmd/grep/comp.c6
1 files 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