diff main/fixed/src/int/fixed.cc @ 9481:d84d2fea3c90 octave-forge

Re-enable compilation of fixed package
author jordigh
date Wed, 22 Feb 2012 22:07:33 +0000
parents 2de537641f94
children
line wrap: on
line diff
--- a/main/fixed/src/int/fixed.cc	Wed Feb 22 21:56:05 2012 +0000
+++ b/main/fixed/src/int/fixed.cc	Wed Feb 22 22:07:33 2012 +0000
@@ -1178,7 +1178,7 @@
   */
 
   fp_uint i = num >> x.decsize;
-  fp_uint d = (num & ((x.filter >> x.intsize+1) & x.filter));
+  fp_uint d = (num & ((x.filter >> (x.intsize+1)) & x.filter));
 
   /*
     Print sign.