[MN-dev] [mndiff]: r91 - trunk/noe/galois.h
michael
subversion at mplayerhq.hu
Tue Oct 21 15:59:01 CEST 2008
Author: michael
Date: Tue Oct 21 15:59:01 2008
New Revision: 91
Log:
Fix code for x86_64.
Modified:
trunk/noe/galois.h
Modified: trunk/noe/galois.h
==============================================================================
--- trunk/noe/galois.h (original)
+++ trunk/noe/galois.h Tue Oct 21 15:59:01 2008
@@ -102,7 +102,7 @@ static inline GFF4Element diff(GFF4Eleme
static inline GFF4Element inv(GFF4Element a){
assert(a!=0);
- return (EXT(exp)+MINUS1)[- EXT(log)[a]];
+ return (EXT(exp)+MINUS1)[- (signed)EXT(log)[a]];
}
#define SET_POLY0(dst, coeff0) (dst)[0]=0; (dst)[1]=coeff0;
More information about the Mndiff-dev
mailing list