diff options
author | spew <devnull@localhost> | 2017-04-22 13:59:37 -0500 |
---|---|---|
committer | spew <devnull@localhost> | 2017-04-22 13:59:37 -0500 |
commit | 9cf519814591413493be10cfaa00853cb15e7a0b (patch) | |
tree | c4ad9e0e9ab31887432a8f707ae7c4fcc853c588 /sys/src/games | |
parent | f2b7f24e4e14099251dd0ed8e7e13d7ca466b0cf (diff) |
libavl: lookup can return the closest match
Diffstat (limited to 'sys/src/games')
-rw-r--r-- | sys/src/games/galaxy/simulate.c | 6 | ||||
-rw-r--r-- | sys/src/games/mix/mix.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/src/games/galaxy/simulate.c b/sys/src/games/galaxy/simulate.c index 4622b6421..9fbf135ac 100644 --- a/sys/src/games/galaxy/simulate.c +++ b/sys/src/games/galaxy/simulate.c @@ -6,9 +6,9 @@ int extraproc = -1, throttle; -static QLock* golock; -static Rendez* gorend; -static int* go; +static QLock *golock; +static Rendez *gorend; +static int *go; static QLock runninglock; static Rendez runningrend; diff --git a/sys/src/games/mix/mix.c b/sys/src/games/mix/mix.c index 1672afaaf..2eb993fca 100644 --- a/sys/src/games/mix/mix.c +++ b/sys/src/games/mix/mix.c @@ -413,7 +413,7 @@ sym(char *name) Sym *s, l; l.name = name; - s = (Sym*)avllookup(syms, &l); + s = (Sym*)avllookup(syms, &l, 0); if(s != nil) return s; |