]> www.ginac.de Git - cln.git/blobdiff - src/vector/output/cl_GV_number_aprint.cc
cl_{GV,SV}: use std::size_t for size of vectors (instead of obscure uintC).
[cln.git] / src / vector / output / cl_GV_number_aprint.cc
index 999178742a012840b3e20e7709694c42fabf55b5..79145b533714c30d5dbd07a19b9790d745f29380 100644 (file)
@@ -19,13 +19,13 @@ namespace cln {
 
 void print_vector (std::ostream& stream, const cl_print_flags& flags, void (* printfun) (std::ostream&, const cl_print_flags&, const cl_number&), const cl_GV_number& vector)
 {
-       var uintC len = vector.size();
+       std::size_t len = vector.size();
        if (flags.vector_syntax == vsyntax_commonlisp) {
                fprintchar(stream,'#');
                fprintchar(stream,'(');
        } else
                fprintchar(stream,'[');
-       for (var uintC i = 0; i < len; i++) {
+       for (std::size_t i = 0; i < len; i++) {
                if (i > 0) {
                        if (flags.vector_syntax == vsyntax_algebraic)
                                fprintchar(stream,',');