tse3-0.2.7-size_t-64bit.patch 1.1 KB

1234567891011121314151617181920212223242526
  1. --- src/tse3/file/XML.h.orig 2002-07-28 18:17:11.000000000 +0300
  2. +++ src/tse3/file/XML.h 2004-04-25 14:51:56.000000000 +0300
  3. @@ -154,6 +154,7 @@
  4. void element(const std::string &name, const char *value);
  5. void element(const std::string &name, int value);
  6. void element(const std::string &name, unsigned int value);
  7. + void element(const std::string &name, unsigned long value);
  8. void element(const std::string &name, bool value);
  9. void comment(const std::string &comment);
  10. --- src/tse3/file/XML.cpp.orig 2002-07-28 18:17:11.000000000 +0300
  11. +++ src/tse3/file/XML.cpp 2004-04-25 14:54:01.000000000 +0300
  12. @@ -116,6 +116,12 @@
  13. out << "<" << name << " value=\"" << value << "\"/>\n";
  14. }
  15. +void TSE3::File::XmlFileWriter::element(const std::string &name, unsigned long value)
  16. +{
  17. + indent(out);
  18. + out << "<" << name << " value=\"" << value << "\"/>\n";
  19. +}
  20. +
  21. void TSE3::File::XmlFileWriter::element(const std::string &name, bool value)
  22. {