Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/wechat_qrcode/src/zxing/common/unicomblock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ UnicomBlock::~UnicomBlock() {}

void UnicomBlock::Init() {
if (m_bInit) return;
m_vcIndex = std::vector<unsigned short>(m_iHeight * m_iWidth, 0);
m_vcCount = std::vector<unsigned short>(m_iHeight * m_iWidth, 0);
m_vcIndex = std::vector<unsigned int>(m_iHeight * m_iWidth, 0);
m_vcCount = std::vector<unsigned int>(m_iHeight * m_iWidth, 0);
m_vcMinPnt = std::vector<int>(m_iHeight * m_iWidth, 0);
m_vcMaxPnt = std::vector<int>(m_iHeight * m_iWidth, 0);
m_vcQueue = std::vector<int>(m_iHeight * m_iWidth, 0);
Expand Down
6 changes: 3 additions & 3 deletions modules/wechat_qrcode/src/zxing/common/unicomblock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ class UnicomBlock : public Counted {
int m_iHeight;
int m_iWidth;

unsigned short m_iNowIdx;
unsigned int m_iNowIdx;
bool m_bInit;
std::vector<unsigned short> m_vcIndex;
std::vector<unsigned short> m_vcCount;
std::vector<unsigned int> m_vcIndex;
std::vector<unsigned int> m_vcCount;
std::vector<int> m_vcMinPnt;
std::vector<int> m_vcMaxPnt;
std::vector<int> m_vcQueue;
Expand Down