[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14039] trunk/blender/source/blender:

jmsoler at free.fr jmsoler at free.fr
Mon Mar 10 21:00:59 CET 2008


Selon Brecht Van Lommel <brechtvanlommel at pandora.be>:

> Revision: 14039
>

>     trunk/blender/source/blender/imbuf/intern/tiff.c

Hi,

sorry to bother again but it seems that MSVC8 does not want to use this macro
(source\blender\imbuf\intern\tiff.c(541) : error C2059) :

#define FTOUSHORT(f) ((f >= 1.0f-0.5f/65535)? 65535: (f <= 0.0f)? 0: (unsigned
short)(f*65535.0f + 0.5f))

but the compilation continues with this on :

#define FTOUSHORT(t) ((t >= 1.0f-0.5f/65535)? 65535: (t <= 0.0f)? 0: (unsigned
short)(t*65535.0f + 0.5f))


jms


More information about the Bf-committers mailing list