diff --git a/src/artnet/ofxArtnetMessage.cpp b/src/artnet/ofxArtnetMessage.cpp index 4e5c61d..8dfa6df 100644 --- a/src/artnet/ofxArtnetMessage.cpp +++ b/src/artnet/ofxArtnetMessage.cpp @@ -75,7 +75,7 @@ void ofxArtnetMessage::setData(std::vector &data) { void ofxArtnetMessage::setData(ofIndexType index, unsigned char data) { if (getSize() <= index) { - ofLogWarning() << "data size is not big enouth"; + ofLogWarning() << "data size is not big enough"; return; } _data[index] = data; diff --git a/src/artnet/ofxArtnetMessage.h b/src/artnet/ofxArtnetMessage.h index f71e3d0..d406966 100644 --- a/src/artnet/ofxArtnetMessage.h +++ b/src/artnet/ofxArtnetMessage.h @@ -50,6 +50,6 @@ class ofxArtnetMessage unsigned int _universe, _subnet, _net; std::vector _data; unsigned int _portAddress; - unsigned char _seqNo; + unsigned char _seqNo = 0; };