1
0
forked from 0ad/0ad

Fix build error on 32-bit Linux

This was SVN commit r7851.
This commit is contained in:
Ykkrosh 2010-08-05 14:24:32 +00:00
parent cc8ad0f3c0
commit df4e9a05c2

View File

@ -92,7 +92,7 @@ public:
NODEFAULT;
}
adapter->offset = Clamp(origin+offset, off_t(0), adapter->size);
adapter->offset = Clamp(off_t(origin+offset), off_t(0), adapter->size);
return 0;
}