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 *** //