id_us_min(texn->env->ima) generates a warning and causes MSVC+CMake
to not build since warnings are treated as errors.
id_us_min((ID*)texn->env->ima) is fine though. If this is the right
change, than I can go ahead and commit it.
Cheers,
Mitchell
On Mon, Mar 21, 2011 at 10:10 AM, Ton Roosendaal
Mitchell,
this is a safe fix. If you can commit it go for it.
Datablocks have ID as the first element of the struct so in the end a
pointer to the datablock and a pointer to the ID struct points to the same
address. So although the warning is valid, the code itself should be ok
(after silencing th