8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 04:03:03 +01:00

avoid cast

This commit is contained in:
alexpeshkoff 2007-11-02 11:40:32 +00:00
parent f5ff3fd242
commit 7818e74053

View File

@ -2360,7 +2360,7 @@ static bool dump_rsb(const jrd_req* request,
/* print out the type followed immediately by any
type-specific data */
SSHORT return_length;
USHORT return_length;
*buffer++ = isc_info_rsb_type;
switch (rsb->rsb_type) {
@ -2442,7 +2442,7 @@ static bool dump_rsb(const jrd_req* request,
}
if (!OPT_access_path(procedure->prc_request, buffer, *buffer_length,
reinterpret_cast<USHORT*>(&return_length)))
&return_length))
{
return false;
}