1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-17 16:29:32 +00:00

switch off msvc warning

This commit is contained in:
mrdudz 2022-07-21 02:38:20 +02:00
parent 6001f5d0e0
commit 978bdedf33

View File

@ -242,7 +242,8 @@ Double FP_D_Div (Double Left, Double Right)
return D;
}
#pragma warning( push )
#pragma warning( disable : 4244 ) // conversion from double to float
uint32_t FP_D_As32bitRaw(Double Val)
/* converts double into 32bit (float) and then returns its raw content as a 32bit int */
{
@ -254,3 +255,4 @@ uint32_t FP_D_As32bitRaw(Double Val)
lval = *lptr;
return lval;
}
#pragma warning( pop )