summaryrefslogtreecommitdiff
path: root/media-libs/tse3/files/tse3-0.2.7-size_t-64bit.patch
blob: fe628c30667085ba468aa852f4b1de4a5bc1228c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- a/src/tse3/file/XML.h
+++ b/src/tse3/file/XML.h
@@ -154,6 +154,7 @@
                 void element(const std::string &name, const char        *value);
                 void element(const std::string &name, int                value);
                 void element(const std::string &name, unsigned int       value);
+                void element(const std::string &name, unsigned long      value);
                 void element(const std::string &name, bool               value);
 
                 void comment(const std::string &comment);
--- a/src/tse3/file/XML.cpp
+++ b/src/tse3/file/XML.cpp
@@ -116,6 +116,12 @@
     out << "<" << name << " value=\"" << value << "\"/>\n";
 }
 
+void TSE3::File::XmlFileWriter::element(const std::string &name, unsigned long value)
+{
+    indent(out);
+    out << "<" << name << " value=\"" << value << "\"/>\n";
+}
+
 
 void TSE3::File::XmlFileWriter::element(const std::string &name, bool value)
 {