Skip to content

Commit

Permalink
Get Rid of this warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Fishwaldo committed Jun 17, 2019
1 parent 179624f commit 5fdefd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/command_classes/SensorMultilevel.cpp
Expand Up @@ -187,7 +187,7 @@ namespace OpenZWave
msg->Append(4);
msg->Append(GetCommandClassId());
msg->Append(SensorMultilevelCmd_Get);
msg->Append(_index);
msg->Append((uint8_t)(_index & 0xFF));
msg->Append(scale);
msg->Append(GetDriver()->GetTransmitOptions());
GetDriver()->SendMsg(msg, _queue);
Expand Down

0 comments on commit 5fdefd8

Please sign in to comment.