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

Minor issue. 1278 specifies that the beam data length is a char (DIS 6) #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/dis6/AcousticBeamData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ int AcousticBeamData::getMarshalledSize() const
{
int marshalSize = 0;

marshalSize = marshalSize + 2; // _beamDataLength
marshalSize = marshalSize + 1; // _beamDataLength
marshalSize = marshalSize + 1; // _beamIDNumber
marshalSize = marshalSize + 2; // _pad2
marshalSize = marshalSize + _fundamentalDataParameters.getMarshalledSize(); // _fundamentalDataParameters
Expand Down
2 changes: 1 addition & 1 deletion src/dis6/AcousticBeamData.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class EXPORT_MACRO AcousticBeamData
{
protected:
/** beam data length */
unsigned short _beamDataLength;
unsigned char _beamDataLength;

/** beamIDNumber */
unsigned char _beamIDNumber;
Expand Down