]>
Commit | Line | Data |
---|---|---|
2aa98d93 JR |
1 | --- octave-3.0.3/liboctave/sparse-util.h~ 2008-09-24 09:13:47.000000000 +0200 |
2 | +++ octave-3.0.3/liboctave/sparse-util.h 2009-02-26 01:57:30.000000000 +0100 | |
3 | @@ -24,7 +24,7 @@ | |
4 | #if !defined (octave_sparse_util_h) | |
5 | #define octave_sparse_util_h 1 | |
6 | ||
7 | -extern OCTAVE_API void SparseCholError (int status, char *file, int line, char *message); | |
8 | +extern OCTAVE_API void SparseCholError (int status, const char *file, int line, const char *message); | |
9 | extern OCTAVE_API int SparseCholPrint (const char *fmt, ...); | |
10 | ||
11 | #endif | |
12 | --- octave-3.0.3/liboctave/sparse-util.cc~ 2008-09-24 09:13:47.000000000 +0200 | |
13 | +++ octave-3.0.3/liboctave/sparse-util.cc 2009-02-26 01:57:08.000000000 +0100 | |
14 | @@ -31,7 +31,7 @@ | |
15 | #include "sparse-util.h" | |
16 | ||
17 | void | |
18 | -SparseCholError (int status, char *file, int line, char *message) | |
19 | +SparseCholError (int status, const char *file, int line, const char *message) | |
20 | { | |
21 | (*current_liboctave_warning_handler)("warning %i, at line %i in file %s", | |
22 | status, line, file); |