mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 16:28:30 +00:00
Fix build from docker build with alpine from macOS (#286)
* fix(build): Remove unused variable and fix const warning. * fix(build): Fix others -Werror=discarded-qualifiers Co-authored-by: Élie BRAMI <Et7f3@mbp-de-elie.home>
This commit is contained in:
parent
67b5200a0b
commit
253ac31a64
7 changed files with 6 additions and 7 deletions
|
@ -21,7 +21,7 @@ forceinline void *bisect(const void *k, const void *data, size_t n, size_t size,
|
|||
} else if (c < 0) {
|
||||
r = m - 1;
|
||||
} else {
|
||||
return p + m * size;
|
||||
return (char *)p + m * size;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue