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

Changed buf2val_ll to return int64_t. #262

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

kneumiller
Copy link
Contributor

Made the changes to int64_t so tha the value of width_ll() is not cast from int64 to uint64.

Copy link
Member

@jgallagher59701 jgallagher59701 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On line 1381, remove the cast to unsigned int: return (unsigned int)width_ll(true);

This is needed. We also need tests for this.

Also, in unit-tests, there is a test called BigArrayTest and that should be run by default, at least in theory. See this section of the libdap4/unit-tests/Makefile.am at about line 113:

If cppunit exists and big array test option are chosen, turn on BigArrayTest.

if CPPUNIT
if USE_BA
UNIT_TESTS +=BigArrayTest
endif
endif

Copy link

sonarcloud bot commented Nov 13, 2024

Copy link
Member

@jgallagher59701 jgallagher59701 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Ready to merge.

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