cmscam97.c: In function 'cmsCIECAM97sInit': cmscam97.c:425: warning: dereferencing type-punned pointer will break strict-aliasing rules ================================================================================ --- src/cmscam97.c +++ src/cmscam97.c @@ -422,7 +422,7 @@ #ifdef USE_CIECAM97s2 MAT3eval(&lpMod -> RGB_subw, &lpMod -> MlamRigg, &lpMod -> WP); #else - VEC3divK(&tmp, (LPVEC3) &lpMod -> WP, lpMod->WP.Y); + VEC3divK(&tmp, &lpMod -> WP, lpMod->WP.Y); MAT3eval(&lpMod -> RGB_subw, &lpMod -> MlamRigg, &tmp); #endif