Skip to content

Commit

Permalink
Make information paramater 32 bit
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Dec 10, 2024
1 parent 1df394c commit 86e0cd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cpp/base/primary_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ void PrimaryDevice::SetIli()
ili = true;
}

void PrimaryDevice::SetInformation(int64_t value)
void PrimaryDevice::SetInformation(int32_t value)
{
information = static_cast<int32_t>(value);
information = value;
valid = true;
}

Expand Down
2 changes: 1 addition & 1 deletion cpp/base/primary_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class PrimaryDevice : public Device
void SetFilemark();
void SetEom(ascq);
void SetIli();
void SetInformation(int64_t);
void SetInformation(int32_t);

void StatusPhase() const;
void DataInPhase(int) const;
Expand Down

0 comments on commit 86e0cd4

Please sign in to comment.