Skip to content

Commit

Permalink
avoid cast
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPeshkoff committed Nov 2, 2007
1 parent f5ff3fd commit 7818e74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jrd/opt.cpp
Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 7818e74

Please sign in to comment.