One more compiler warning fix for size_t to long conversion.
This commit is contained in:
parent
a9562cd655
commit
85dfcef243
|
@ -155,7 +155,7 @@ public:
|
||||||
{
|
{
|
||||||
vec->resize(length);
|
vec->resize(length);
|
||||||
len = length;
|
len = length;
|
||||||
if (static_cast<size_t>(pos) > length) pos=length;
|
if (static_cast<size_t>(pos) > length) pos=static_cast<long int>(length);
|
||||||
}
|
}
|
||||||
|
|
||||||
u8* buf() {
|
u8* buf() {
|
||||||
|
|
Loading…
Reference in New Issue