diff --git a/src/example/mainEzspTest.cpp b/src/example/mainEzspTest.cpp index 722cc7bc..1528c7b1 100644 --- a/src/example/mainEzspTest.cpp +++ b/src/example/mainEzspTest.cpp @@ -127,7 +127,7 @@ int main(int argc, char **argv) { clogE << "Invalid character '" << gpDevKeyStr[i+1] << "' at position " << i+2 << " in key " << gpDevKeyStr << "\n"; /* Note: 1st char is identified by a position=1 for readability */ exit(1); } - argAsBytes.push_back(hiNibble << 4 | loNibble); + argAsBytes.push_back(static_cast(hiNibble << 4) | loNibble); } //for (uint8_t loop=0; loop