From f1f3e1034dc85fff4b8aab95176b8d9ddecbda91 Mon Sep 17 00:00:00 2001 From: "Eric J. Korpela" Date: Wed, 29 Oct 2003 20:08:50 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=2602 --- lib/xml_util.C | 5 ++++- lib/xml_util.h | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/xml_util.C b/lib/xml_util.C index 31f4bca83f..5f9f3b08ef 100644 --- a/lib/xml_util.C +++ b/lib/xml_util.C @@ -537,7 +537,7 @@ unsigned char decode_char(const char *s) { std::string x_csv_encode_char(const unsigned char *bin, size_t nelements) { std::ostringstream rv(""); - size_t lastlen=0,i; + long lastlen=0,i; rv << std::endl << xml_indent(2); for (i=0;i<(nelements-1);i++) { unsigned int ival=bin[i]; @@ -554,6 +554,9 @@ std::string x_csv_encode_char(const unsigned char *bin, size_t nelements) { // // $Log$ +// Revision 1.23 2003/10/29 20:08:49 korpela +// *** empty log message *** +// // Revision 1.22 2003/10/27 23:07:34 korpela // *** empty log message *** // diff --git a/lib/xml_util.h b/lib/xml_util.h index 102813b5a7..dd7fc7e401 100644 --- a/lib/xml_util.h +++ b/lib/xml_util.h @@ -517,7 +517,7 @@ std::string x_csv_encode_char(const unsigned char *bin, size_t nelements); template std::string x_csv_encode(const T *bin, size_t nelements) { std::ostringstream rv(""); - size_t lastlen=0,i; + long lastlen=0,i; bool ischar=(sizeof(T)==1); rv << std::endl << xml_indent(2); if (ischar) return x_csv_encode_char((const unsigned char *)bin, nelements); @@ -821,6 +821,9 @@ std::string xml_encode_string(const T *input, #endif // // $Log$ +// Revision 1.16 2003/10/29 20:08:50 korpela +// *** empty log message *** +// // Revision 1.15 2003/10/27 23:07:34 korpela // *** empty log message *** //