diff liboctave/Sparse-op-defs.h @ 5876:565d0cd4d9d0

[project @ 2006-07-01 19:42:06 by dbateman]
author dbateman
date Sat, 01 Jul 2006 19:42:07 +0000
parents dfef2f909f34
children 143b556ce725
line wrap: on
line diff
--- a/liboctave/Sparse-op-defs.h
+++ b/liboctave/Sparse-op-defs.h
@@ -1548,7 +1548,7 @@
   else \
     { \
       OCTAVE_LOCAL_BUFFER (octave_idx_type, w, nr); \
-      RET_TYPE retval (nr, a_nc, 0); \
+      RET_TYPE retval (nr, a_nc, static_cast<octave_idx_type> (0)); \
       for (octave_idx_type i = 0; i < nr; i++) \
 	w[i] = 0; \
       retval.xcidx(0) = 0; \