mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:25:11 +00:00
[FIX] Make codebase *slightly* NetBSD-friendly
I need to make it so that NetBSD targets get their own correctness/build checks in CI. I also had to do some hacks with Cytoplasm, will make a PR for those soon.
This commit is contained in:
parent
44d6df3be8
commit
b0cf0961a3
13 changed files with 35 additions and 25 deletions
|
|
@ -87,7 +87,7 @@ DecodeQuote(StringRect rect, size_t *skip)
|
|||
* > four but that's for Nerds
|
||||
* > seasons See, Touhou reference!
|
||||
* concealing!) */
|
||||
while ((ch = StrGet(&rect, lines - 1, shift_by)) && isspace(ch))
|
||||
while ((ch = StrGet(&rect, lines - 1, shift_by)) && isspace((int) ch))
|
||||
{
|
||||
shift_by++;
|
||||
}
|
||||
|
|
@ -132,7 +132,7 @@ DecodeSpan(StringRect rect, char del, size_t *skip)
|
|||
{
|
||||
return StrFullRect(NULL);
|
||||
}
|
||||
if (!ret.source_lines && isspace(c))
|
||||
if (!ret.source_lines && isspace((int) c))
|
||||
{
|
||||
return StrFullRect(NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue