mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
Fixed some warnings printed during wpilibC++Sim build
Change-Id: I11eea8a577af7c37c61978edd721ca16e4e41748
This commit is contained in:
committed by
Brad Miller (WPI)
parent
771b5807f4
commit
a7feaddd6b
@@ -59,7 +59,7 @@ DoubleSolenoid::DoubleSolenoid(uint8_t moduleNumber, uint32_t forwardChannel,
|
||||
<< ")";
|
||||
if (m_allocated->Allocate(
|
||||
m_moduleNumber * kSolenoidChannels + m_forwardChannel, buf.str()) ==
|
||||
~0ul) {
|
||||
std::numeric_limits<uint32_t>::max()) {
|
||||
CloneError(*m_allocated);
|
||||
return;
|
||||
}
|
||||
@@ -68,7 +68,7 @@ DoubleSolenoid::DoubleSolenoid(uint8_t moduleNumber, uint32_t forwardChannel,
|
||||
<< ")";
|
||||
if (m_allocated->Allocate(
|
||||
m_moduleNumber * kSolenoidChannels + m_reverseChannel, buf.str()) ==
|
||||
~0ul) {
|
||||
std::numeric_limits<uint32_t>::max()) {
|
||||
CloneError(*m_allocated);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user