Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lua casting #17456

Merged
merged 2 commits into from
Nov 19, 2024
Merged

Lua casting #17456

merged 2 commits into from
Nov 19, 2024

Conversation

ton31337
Copy link
Member

No description provided.

@ton31337 ton31337 changed the title Fix/lua unit test Lua casting Nov 18, 2024
When building for big-endian architectures, this is failing because of
long long / int casting issues, let's use a separate integer to get the
results.

This is especially important when building the Docker images for multiple arches.

Signed-off-by: Donatas Abraitis <[email protected]>
This is an issue for big-endian architectures, that causes incorrect castings.

lua_tointegerp() uses int*, not long long*.

Signed-off-by: Donatas Abraitis <[email protected]>
@donaldsharp donaldsharp merged commit 9b50371 into FRRouting:master Nov 19, 2024
11 checks passed
@ton31337 ton31337 deleted the fix/lua_unit_test branch November 19, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants