mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:03:02 +01:00
Sign extension problem, thanks Bill Oliver.
This commit is contained in:
parent
b7eaacf362
commit
fa23490f10
@ -373,7 +373,7 @@ const UCHAR dtype_max_comp = dtype_d_float;
|
||||
inline USHORT TEXT_LEN(const dsc* desc)
|
||||
{
|
||||
return ((desc->dsc_dtype == dtype_text) ? desc->dsc_length :
|
||||
(desc->dsc_dtype == dtype_cstring) ? desc->dsc_length - 1 : desc->dsc_length - sizeof(USHORT));
|
||||
(desc->dsc_dtype == dtype_cstring) ? desc->dsc_length - 1u : desc->dsc_length - sizeof(USHORT));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user