Mercurial > hg > octave-nkf
changeset 5010:6ff7d9d61b57
[project @ 2004-09-21 01:14:26 by jwe]
author | jwe |
---|---|
date | Tue, 21 Sep 2004 01:14:26 +0000 |
parents | 000cfedea91c |
children | 1743bf921773 |
files | src/DLD-FUNCTIONS/sort.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/sort.cc +++ b/src/DLD-FUNCTIONS/sort.cc @@ -304,7 +304,7 @@ double *v = m.fortran_vec (); - unsigned EIGHT_BYTE_INT *p = (unsigned EIGHT_BYTE_INT *)v; + unsigned EIGHT_BYTE_INT *p = reinterpret_cast<unsigned EIGHT_BYTE_INT *> (v); octave_sort<unsigned EIGHT_BYTE_INT> sort; @@ -440,7 +440,7 @@ double *v = m.fortran_vec (); - unsigned EIGHT_BYTE_INT *p = (unsigned EIGHT_BYTE_INT *)v; + unsigned EIGHT_BYTE_INT *p = reinterpret_cast<unsigned EIGHT_BYTE_INT *> (v); octave_sort<vec_index<unsigned EIGHT_BYTE_INT> *> indexed_sort;