# HG changeset patch # User jwe # Date 1144863648 0 # Node ID a9ac02e9fda5fb64e6e95f14bc2be835be2ce99c # Parent f243564379e57ef89fdf5ded918014271c88f2e3 [project @ 2006-04-12 17:40:47 by jwe] diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2006-04-12 John W. Eaton + + * load-save.cc (do_load): Declare count octave_idx_type, not int. + * ls-oct-ascii.cc, ls-oct-ascii.h (read_ascii_data): Likewise. + 2006-04-11 John W. Eaton * pt-assign.cc (tree_simple_assignment::rvalue, diff --git a/src/load-save.cc b/src/load-save.cc --- a/src/load-save.cc +++ b/src/load-save.cc @@ -446,7 +446,7 @@ OSSTREAM output_buf; - int count = 0; + octave_idx_type count = 0; for (;;) { diff --git a/src/ls-oct-ascii.cc b/src/ls-oct-ascii.cc --- a/src/ls-oct-ascii.cc +++ b/src/ls-oct-ascii.cc @@ -272,7 +272,7 @@ std::string read_ascii_data (std::istream& is, const std::string& filename, bool& global, - octave_value& tc, int count) + octave_value& tc, octave_idx_type count) { // Read name for this entry or break on EOF. diff --git a/src/ls-oct-ascii.h b/src/ls-oct-ascii.h --- a/src/ls-oct-ascii.h +++ b/src/ls-oct-ascii.h @@ -46,7 +46,7 @@ extern std::string read_ascii_data (std::istream& is, const std::string& filename, bool& global, - octave_value& tc, int count); + octave_value& tc, octave_idx_type count); extern bool save_ascii_data (std::ostream& os, const octave_value& val_arg,