Skip to content
Snippets Groups Projects
Commit 0f8ad339 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

WRG: fix double to float narrowing conversion warning on windows

parent 5738b88b
No related branches found
No related tags found
3 merge requests!57Update to OTB V8,!56Update to OTB v8,!29Warning fixes
......@@ -703,7 +703,7 @@ namespace otb
::PIC(float TAB_PIC[3][3], float *DX, float *DY, float *VAL_MAX, int *CR) const
{
float TAB_COS[3]= {-0.5,1.,-0.5};
float TAB_SIN[3]= {-0.8660254,0.,+0.8660254};
float TAB_SIN[3]= {-0.8660254f,0.f,+0.8660254f};
float SXF,SYF,SF,N,A1,B1,SDXF,SDYF,A2,B2;
float AX, AY;
int i, j;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment