reopen 337820 severity 337820 important thanks On Wed, Dec 28, 2005 at 03:19:01PM -0800, Steve Langasek wrote: > > This will not fix this bug. s390 have size_t == signed int. > Hrm, that doesn't make any sense. The previous set of implementations were
Yep, saw it. The attached patch really fixes it by using unsigned long. uint64_t is unsigned long on 64bit architectures and unsigned long long on 32bit architectures, so it does not change anything. Bastian -- We'll pivot at warp 2 and bring all tubes to bear, Mr. Sulu!
diff -u tse3-0.3.1/src/tse3/file/XML.h tse3-0.3.1/src/tse3/file/XML.h --- tse3-0.3.1/src/tse3/file/XML.h +++ tse3-0.3.1/src/tse3/file/XML.h @@ -154,7 +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, uint64_t value); + void element(const std::string &name, unsigned long value); void element(const std::string &name, bool value); void comment(const std::string &comment); diff -u tse3-0.3.1/src/tse3/file/XML.cpp tse3-0.3.1/src/tse3/file/XML.cpp --- tse3-0.3.1/src/tse3/file/XML.cpp +++ tse3-0.3.1/src/tse3/file/XML.cpp @@ -117,7 +117,7 @@ } -void TSE3::File::XmlFileWriter::element(const std::string &name, uint64_t value) +void TSE3::File::XmlFileWriter::element(const std::string &name, unsigned long value) { indent(out); out << "<" << name << " value=\"" << value << "\"/>\n"; diff -u tse3-0.3.1/debian/changelog tse3-0.3.1/debian/changelog --- tse3-0.3.1/debian/changelog +++ tse3-0.3.1/debian/changelog @@ -1,3 +1,10 @@ +tse3 (0.3.1-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Use unsigned long instead of uint64_t. + + -- Bastian Blank <[EMAIL PROTECTED]> Thu, 29 Dec 2005 12:29:11 +0000 + tse3 (0.3.1-3) unstable; urgency=low * The "I can't send email but I can still upload packages" build.
signature.asc
Description: Digital signature