Skip to content

toke: fix type of olen variable#22

Merged
reinauer merged 1 commit intoopenbios:masterfrom
aurel32:toke-olen-type
Mar 10, 2025
Merged

toke: fix type of olen variable#22
reinauer merged 1 commit intoopenbios:masterfrom
aurel32:toke-olen-type

Conversation

@aurel32
Copy link
Copy Markdown
Contributor

@aurel32 aurel32 commented Mar 9, 2025

The olen variable is declared as unsigned int in toke/stream.c, but simply as int in the extern definition in emit.c. This may cause undefined behaviour, so fix that.

The olen variable is declared as unsigned int in toke/stream.c, but
simply as int in the extern definition in emit.c. This may cause
undefined behaviour, so fix that.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
@reinauer reinauer merged commit fa98d80 into openbios:master Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants