Mercurial > octave
diff libinterp/corefcn/hex2num.cc @ 23359:dd6ce1e09a4c
fix typo in previous change
* hex2num.cc: Pass pointer to C string to "error", not std::string object.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 06 Apr 2017 15:16:19 -0400 |
parents | ef20eee0247d |
children | 855122b993da |
line wrap: on
line diff
--- a/libinterp/corefcn/hex2num.cc Thu Apr 06 15:06:42 2017 -0400 +++ b/libinterp/corefcn/hex2num.cc Thu Apr 06 15:16:19 2017 -0400 @@ -194,7 +194,7 @@ else if (type == "double") retval = octave_value (hex2num<double> (val, swap_bytes)); else - error ("hex2num: unrecognized CLASS '%s'", type); + error ("hex2num: unrecognized CLASS '%s'", type.c_str ()); return retval; }