# HG changeset patch # User John W. Eaton # Date 1325958274 18000 # Node ID 7ffd2a0791ef389474bb52228e9b046a3721ab3f # Parent 906eecd4bf43b0146c50019ee41acac2dc83c935 fix name lookup problem with static nested class * oct-inttypes.h (octave_int_arith_base::mul): Tag truncate_int with octave_int_base::. (octave_int_arith_base::mul): Likewise. diff -r 906eecd4bf43 -r 7ffd2a0791ef liboctave/oct-inttypes.h --- a/liboctave/oct-inttypes.h Fri Jan 06 16:49:16 2012 -0500 +++ b/liboctave/oct-inttypes.h Sat Jan 07 12:44:34 2012 -0500 @@ -366,8 +366,8 @@ { // Promotion type for multiplication (if exists). typedef typename query_integer_type<2*sizeof (T), false>::type mptype; - return truncate_int (static_cast (x) - * static_cast (y)); + return octave_int_base::truncate_int (static_cast (x) + * static_cast (y)); } // Division with rounding to nearest. Note that / and % are probably @@ -621,8 +621,8 @@ { // Promotion type for multiplication (if exists). typedef typename query_integer_type<2*sizeof (T), true>::type mptype; - return truncate_int (static_cast (x) - * static_cast (y)); + return octave_int_base::truncate_int (static_cast (x) + * static_cast (y)); } // Division.