changeset 21833:0f1440e262b6

Fix build error with --enable-jit (bug #48159) * jit-typeinfo.cc (octave_jit_ginvalid_index): Cast invalid index to octave_idx_type to avoid ambiguous overload error.
author Mike Miller <mtmiller@octave.org>
date Tue, 07 Jun 2016 09:11:08 -0700
parents 7fe10fcd8370
children f250714c629d
files libinterp/corefcn/jit-typeinfo.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/jit-typeinfo.cc	Fri Jun 03 16:15:01 2016 -0500
+++ b/libinterp/corefcn/jit-typeinfo.cc	Tue Jun 07 09:11:08 2016 -0700
@@ -223,7 +223,7 @@
 {
   // FIXME: 0-argument form of err_invalid_index removed in cset dd6345fd8a97
   //        Report -1 as the bad index for all occurrences.
-  err_invalid_index (-1);
+  err_invalid_index (static_cast<octave_idx_type> (-1));
 }
 
 extern "C" void