mirror of https://github.com/status-im/qzxing.git
Fix bad signness comparison for default values.
This commit is contained in:
parent
7e92f2981c
commit
ab17c8ecb0
|
@ -22,7 +22,7 @@ size_t ByteMatrix::getWidth() const
|
|||
return width_;
|
||||
}
|
||||
|
||||
char ByteMatrix::get(size_t x, size_t y) const
|
||||
signed char ByteMatrix::get(size_t x, size_t y) const
|
||||
{
|
||||
return bytes_[y][x];
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public:
|
|||
|
||||
size_t getHeight() const;
|
||||
size_t getWidth() const;
|
||||
char get(size_t x, size_t y) const;
|
||||
signed char get(size_t x, size_t y) const;
|
||||
|
||||
std::vector< std::vector<char> > getArray() const;
|
||||
void set(size_t x, size_t y, const char value);
|
||||
|
|
Loading…
Reference in New Issue