Le decadi 10 frimaire, an CCXXIV, Muhammad Faiz a écrit : > double basefreq = BASEFREQ, endfreq = ENDFREQ; > if (basefreq == BASEFREQ && endfreq == ENDFREQ) > printf("equal\n"); > else > printf("inequal\n"); > > I try with gcc -std=c89 / -std=c99 on mingw 32-bit > the result is inequal.
That looks like a compiler bug. Could you post the generated assembly code, with and without the cast? (and with just one comparison, no need to make things complicated) Regards, -- Nicolas George
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel