libxrdp: fix warning
This commit is contained in:
parent
fcfd14fefd
commit
2eb2f1d92d
@ -1987,7 +1987,6 @@ xrdp_orders_send_create_os_surface(struct xrdp_orders* self, int id,
|
|||||||
|
|
||||||
bytes = 7;
|
bytes = 7;
|
||||||
num_del_list = del_list->count;
|
num_del_list = del_list->count;
|
||||||
g_writeln("xrdp_orders_send_create_os_surface: num_del_list %d", num_del_list);
|
|
||||||
if (num_del_list > 0)
|
if (num_del_list > 0)
|
||||||
{
|
{
|
||||||
bytes += 2;
|
bytes += 2;
|
||||||
|
@ -321,7 +321,7 @@ xrdp_rdp_send_data(struct xrdp_rdp* self, struct stream* s,
|
|||||||
if (self->client_info.rdp_compression && self->session->up_and_running)
|
if (self->client_info.rdp_compression && self->session->up_and_running)
|
||||||
{
|
{
|
||||||
mppc_enc = (struct rdp_mppc_enc*)(self->mppc_enc);
|
mppc_enc = (struct rdp_mppc_enc*)(self->mppc_enc);
|
||||||
if (compress_rdp(mppc_enc, s->p + 18, tocomplen))
|
if (compress_rdp(mppc_enc, (tui8*)(s->p + 18), tocomplen))
|
||||||
{
|
{
|
||||||
DEBUG(("mppc_encode ok flags 0x%x bytes_in_opb %d historyOffset %d "
|
DEBUG(("mppc_encode ok flags 0x%x bytes_in_opb %d historyOffset %d "
|
||||||
"tocomplen %d", mppc_enc->flags, mppc_enc->bytes_in_opb,
|
"tocomplen %d", mppc_enc->flags, mppc_enc->bytes_in_opb,
|
||||||
|
Loading…
Reference in New Issue
Block a user