mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2024-12-21 16:30:24 +00:00
fix warnings.
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3157 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
This commit is contained in:
parent
adebd47bcb
commit
59487424bb
@ -56,7 +56,7 @@ public:
|
||||
_capacity = 0;
|
||||
// fill up the end, then wrap around to start.
|
||||
if (_ptr + dsize > Size) {
|
||||
int amt = Size - _ptr;
|
||||
size_t amt = Size - _ptr;
|
||||
memcpy(_buffer + _ptr, data, amt);
|
||||
_ptr = 0;
|
||||
dsize -= amt;
|
||||
|
Loading…
Reference in New Issue
Block a user