diff options
author | rsc <devnull@localhost> | 2006-04-20 20:18:13 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-20 20:18:13 +0000 |
commit | 4515de8f502e7784d7901ef42ca3e4cecae07a09 (patch) | |
tree | 7db6ab97ddf15ea5ee502ff408d2204d1576777b /src/libregexp | |
parent | e6dad55ae3498c3b13a700e4a8b5c586e444618d (diff) | |
download | plan9port-4515de8f502e7784d7901ef42ca3e4cecae07a09.tar.gz plan9port-4515de8f502e7784d7901ef42ca3e4cecae07a09.tar.bz2 plan9port-4515de8f502e7784d7901ef42ca3e4cecae07a09.zip |
silence warning (andrey)
Diffstat (limited to 'src/libregexp')
-rw-r--r-- | src/libregexp/regcomp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libregexp/regcomp.c b/src/libregexp/regcomp.c index 178b7783..b8286dc7 100644 --- a/src/libregexp/regcomp.c +++ b/src/libregexp/regcomp.c @@ -261,18 +261,18 @@ optimize(Reprog *pp) case STAR: case PLUS: case QUEST: - *(char **)&inst->u1.right += diff; + *(char**)(void*)&inst->u1.right += diff; break; case CCLASS: case NCCLASS: - *(char **)&inst->u1.right += diff; + *(char**)(void*)&inst->u1.right += diff; cl = inst->u1.cp; - *(char **)&cl->end += diff; + *(char**)(void*)&cl->end += diff; break; } - *(char **)&inst->u2.left += diff; + *(char**)(void*)&inst->u2.left += diff; } - *(char **)&npp->startinst += diff; + *(char**)(void*)&npp->startinst += diff; return npp; } |