mirror of
https://github.com/TASEmulators/fceux.git
synced 2026-10-12 02:09:51 +00:00
One more compiler warning fix for size_t to long conversion.
This commit is contained in:
+1
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user