mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
fix segfaults on OpenBSD: int cannot hold all the values a ptrdiff_t can take.
Change-Id: I90806e6f2e46a94f38aa0a8a7038aa6599b448b3 Reviewed-on: https://plan9port-review.googlesource.com/2660 Reviewed-by: Russ Cox <rsc@swtch.com>
This commit is contained in:
parent
35d4392448
commit
2d82ef9d98
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ optimize(Reprog *pp)
|
|||
int size;
|
||||
Reprog *npp;
|
||||
Reclass *cl;
|
||||
int diff;
|
||||
ptrdiff_t diff;
|
||||
|
||||
/*
|
||||
* get rid of NOOP chains
|
||||
|
|
Loading…
Reference in a new issue