Mercurial > octave
changeset 31368:18fac4a92fa6
build: Silence compilation warning about mismatching integer format (bug #63290).
* liboctave/numeric/gsvd.cc (gsvd<T>::gsvd): Use format string matching the
Fortran integer type.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 30 Oct 2022 09:22:23 +0100 |
parents | a448b8a0ffff |
children | c0f1a817c058 |
files | liboctave/numeric/gsvd.cc |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/numeric/gsvd.cc Sat Oct 29 23:08:09 2022 -0700 +++ b/liboctave/numeric/gsvd.cc Sun Oct 30 09:22:23 2022 +0100 @@ -570,7 +570,8 @@ if (info < 0) (*current_liboctave_error_handler) - ("*ggsvd.f: argument %d illegal", -info); + ("*ggsvd.f: argument %" OCTAVE_F77_INT_TYPE_FORMAT " illegal", + -info); if (info > 0) (*current_liboctave_error_handler)