Cant use -1, id is an unsigned int!
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
struct Output
|
||||
{
|
||||
Output(quint8 i, bool en, QString n) : id(i), enabled(en), name(n) { }
|
||||
Output() : id(-1), enabled(false) { }
|
||||
Output() : id(0xFF), enabled(false) { }
|
||||
|
||||
Output(const Output &o) { *this=o; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user