mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 04:43:03 +01:00
Avoid warnings.
This commit is contained in:
parent
fd7983167c
commit
38dcfb7700
@ -945,7 +945,7 @@ SLONG CVT_get_long(const dsc* desc, SSHORT scale, ErrorFunction err)
|
|||||||
d = *((float*) p);
|
d = *((float*) p);
|
||||||
eps = eps_float;
|
eps = eps_float;
|
||||||
}
|
}
|
||||||
else if (desc->dsc_dtype == DEFAULT_DOUBLE)
|
else // if (desc->dsc_dtype == DEFAULT_DOUBLE)
|
||||||
{
|
{
|
||||||
d = *((double*) p);
|
d = *((double*) p);
|
||||||
eps = eps_double;
|
eps = eps_double;
|
||||||
@ -2452,7 +2452,7 @@ SINT64 CVT_get_int64(const dsc* desc, SSHORT scale, ErrorFunction err)
|
|||||||
d = *((float*) p);
|
d = *((float*) p);
|
||||||
eps = eps_float;
|
eps = eps_float;
|
||||||
}
|
}
|
||||||
else if (desc->dsc_dtype == DEFAULT_DOUBLE)
|
else // if (desc->dsc_dtype == DEFAULT_DOUBLE)
|
||||||
{
|
{
|
||||||
d = *((double*) p);
|
d = *((double*) p);
|
||||||
eps = eps_double;
|
eps = eps_double;
|
||||||
|
Loading…
Reference in New Issue
Block a user