Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- exult/files/databuf.h:144:16: Implicit conversion loses integer precision: 'std::__1::streamoff' (aka 'long long') to 'size_t' (aka 'unsigned long')
- exult/files/databuf.h:146:16: Implicit conversion loses integer precision: 'std::__1::streamoff' (aka 'long long') to 'size_t' (aka 'unsigned long')
- exult/files/databuf.h:152:10: Implicit conversion loses integer precision: 'std::__1::streamoff' (aka 'long long') to 'size_t' (aka 'unsigned long')
- size_t getSize() final {
- size_t pos = in->tellg();
- in->seekg(0, std::ios::end);
- size_t len = in->tellg();
- in->seekg(pos);
- return len;
- }
- size_t getPos() final {
- return in->tellg();
- }
- exult/files/databuf.h:404:16: Implicit conversion loses integer precision: 'std::__1::streamoff' (aka 'long long') to 'size_t' (aka 'unsigned long')
- exult/files/databuf.h:406:16: Implicit conversion loses integer precision: 'std::__1::streamoff' (aka 'long long') to 'size_t' (aka 'unsigned long')
- exult/files/databuf.h:412:10: Implicit conversion loses integer precision: 'std::__1::streamoff' (aka 'long long') to 'size_t' (aka 'unsigned long')
- size_t getSize() final {
- size_t pos = out->tellp();
- out->seekp(0, std::ios::end);
- size_t len = out->tellp();
- out->seekp(pos);
- return len;
- }
- size_t getPos() final {
- return out->tellp();
- }
- exult/files/utils.cc:803:20: Implicit conversion loses integer precision: 'std::__1::streamoff' (aka 'long long') to 'size_t' (aka 'unsigned long')
- size_t filesize = in.tellg();
- exult/usecode/ucinternal.cc:1796:13: Implicit conversion loses integer precision: 'std::__1::streamoff' (aka 'long long') to 'int'
- int size = file.tellg(); // Get file size.
- exult/usecode/ucinternal.cc:3195:21: Implicit conversion loses integer precision: 'std::__1::streamoff' (aka 'long long') to 'size_t' (aka 'unsigned long')
- size_t filesize = in.tellg();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement