Advertisement
dominus

Untitled

Apr 21st, 2020
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1.  
  2. exult/files/databuf.h:144:16: Implicit conversion loses integer precision: 'std::__1::streamoff' (aka 'long long') to 'size_t' (aka 'unsigned long')
  3. exult/files/databuf.h:146:16: Implicit conversion loses integer precision: 'std::__1::streamoff' (aka 'long long') to 'size_t' (aka 'unsigned long')
  4. exult/files/databuf.h:152:10: Implicit conversion loses integer precision: 'std::__1::streamoff' (aka 'long long') to 'size_t' (aka 'unsigned long')
  5. size_t getSize() final {
  6. size_t pos = in->tellg();
  7. in->seekg(0, std::ios::end);
  8. size_t len = in->tellg();
  9. in->seekg(pos);
  10. return len;
  11. }
  12.  
  13. size_t getPos() final {
  14. return in->tellg();
  15. }
  16.  
  17. exult/files/databuf.h:404:16: Implicit conversion loses integer precision: 'std::__1::streamoff' (aka 'long long') to 'size_t' (aka 'unsigned long')
  18. exult/files/databuf.h:406:16: Implicit conversion loses integer precision: 'std::__1::streamoff' (aka 'long long') to 'size_t' (aka 'unsigned long')
  19. exult/files/databuf.h:412:10: Implicit conversion loses integer precision: 'std::__1::streamoff' (aka 'long long') to 'size_t' (aka 'unsigned long')
  20. size_t getSize() final {
  21. size_t pos = out->tellp();
  22. out->seekp(0, std::ios::end);
  23. size_t len = out->tellp();
  24. out->seekp(pos);
  25. return len;
  26. }
  27.  
  28. size_t getPos() final {
  29. return out->tellp();
  30. }
  31.  
  32. exult/files/utils.cc:803:20: Implicit conversion loses integer precision: 'std::__1::streamoff' (aka 'long long') to 'size_t' (aka 'unsigned long')
  33. size_t filesize = in.tellg();
  34.  
  35. exult/usecode/ucinternal.cc:1796:13: Implicit conversion loses integer precision: 'std::__1::streamoff' (aka 'long long') to 'int'
  36. int size = file.tellg(); // Get file size.
  37.  
  38. exult/usecode/ucinternal.cc:3195:21: Implicit conversion loses integer precision: 'std::__1::streamoff' (aka 'long long') to 'size_t' (aka 'unsigned long')
  39. size_t filesize = in.tellg();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement