1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-26 05:29:30 +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; return D;
} }
#pragma warning( push )
#pragma warning( disable : 4244 ) // conversion from double to float
uint32_t FP_D_As32bitRaw(Double Val) uint32_t FP_D_As32bitRaw(Double Val)
/* converts double into 32bit (float) and then returns its raw content as a 32bit int */ /* 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; lval = *lptr;
return lval; return lval;
} }
#pragma warning( pop )