One more compiler warning fix for size_t to long conversion.

This commit is contained in:
harry
2023-01-27 08:06:28 -05:00
parent a9562cd655
commit 85dfcef243
+1 -1
View File
@@ -155,7 +155,7 @@ public:
{
vec->resize(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() {