mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2025-01-02 16:31:38 +00:00
fix warnings.
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3158 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
This commit is contained in:
parent
59487424bb
commit
02ea54d3fe
@ -570,7 +570,7 @@
|
||||
std::string rv;
|
||||
int offset = 0;
|
||||
while (offset < bytes.size()) {
|
||||
int max = bytes.size() - offset;
|
||||
size_t max = bytes.size() - offset;
|
||||
if (max > 16) max = 16;
|
||||
|
||||
rv.append(hex.data() + offset * 3, max * 3);
|
||||
|
Loading…
Reference in New Issue
Block a user