fix build?

This commit is contained in:
Thomas Kunze 2019-06-12 21:13:45 +02:00
parent 0a9a2177e4
commit 7a0a3d30ac
2 changed files with 1 additions and 2 deletions

View File

@ -590,7 +590,7 @@ int busValueToAccess(const uint8_t* payload, int payload_length, const Dpt& data
{ {
case 0: case 0:
{ {
int digits = 0; int32_t digits = 0;
for (int n = 0, factor = 100000; n < 6; ++n, factor /= 10) for (int n = 0, factor = 100000; n < 6; ++n, factor /= 10)
{ {
unsigned char digit = bcdFromPayload(payload, n); unsigned char digit = bcdFromPayload(payload, n);

View File

@ -44,7 +44,6 @@ class KNXValue
KNXValue& operator=(const double value); KNXValue& operator=(const double value);
KNXValue& operator=(const char* value); KNXValue& operator=(const char* value);
KNXValue& operator=(const struct tm value); KNXValue& operator=(const struct tm value);
private: private:
bool boolValue() const; bool boolValue() const;