mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
silence warning (andrey)
This commit is contained in:
parent
e6dad55ae3
commit
4515de8f50
2 changed files with 7 additions and 6 deletions
|
@ -16,7 +16,8 @@
|
|||
* keyletters and options.
|
||||
*/
|
||||
#define TARGBEGIN {\
|
||||
(argv0 || (argv0 = *argv)), argv++, argc--;\
|
||||
if (!argv0) argv0 = *argv; \
|
||||
argv++, argc--;\
|
||||
if (argv[0]) {\
|
||||
char *_args, *_argt;\
|
||||
Rune _argc;\
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue