Fixed compilation warnings
This commit is contained in:
parent
951a83e295
commit
1b71bba2a0
@ -734,4 +734,5 @@ BOOL xf_ungrab(xfContext* xfc)
|
||||
XUngrabKeyboard(xfc->display, CurrentTime);
|
||||
XUngrabPointer(xfc->display, CurrentTime);
|
||||
xfc->common.mouse_grabbed = FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -850,14 +850,14 @@ static int test_MppcDecompressBellsRdp5(void)
|
||||
UINT32 DstSize;
|
||||
MPPC_CONTEXT* mppc;
|
||||
UINT32 expectedSize;
|
||||
BYTE* pDstData = NULL;
|
||||
const BYTE* pDstData = NULL;
|
||||
mppc = mppc_context_new(1, FALSE);
|
||||
|
||||
if (!mppc)
|
||||
return -1;
|
||||
|
||||
SrcSize = sizeof(TEST_MPPC_BELLS_RDP5) - 1;
|
||||
pSrcData = (const BYTE*)TEST_MPPC_BELLS_RDP5;
|
||||
pSrcData = TEST_MPPC_BELLS_RDP5;
|
||||
Flags = PACKET_AT_FRONT | PACKET_COMPRESSED | 1;
|
||||
expectedSize = sizeof(TEST_MPPC_BELLS) - 1;
|
||||
status = mppc_decompress(mppc, pSrcData, SrcSize, &pDstData, &DstSize, Flags);
|
||||
@ -897,7 +897,7 @@ static int test_MppcDecompressBellsRdp4(void)
|
||||
UINT32 DstSize;
|
||||
MPPC_CONTEXT* mppc;
|
||||
UINT32 expectedSize;
|
||||
BYTE* pDstData = NULL;
|
||||
const BYTE* pDstData = NULL;
|
||||
mppc = mppc_context_new(0, FALSE);
|
||||
|
||||
if (!mppc)
|
||||
@ -1047,7 +1047,7 @@ static int test_MppcDecompressBufferRdp5(void)
|
||||
UINT32 DstSize;
|
||||
MPPC_CONTEXT* mppc;
|
||||
UINT32 expectedSize;
|
||||
BYTE* pDstData = NULL;
|
||||
const BYTE* pDstData = NULL;
|
||||
mppc = mppc_context_new(1, FALSE);
|
||||
|
||||
if (!mppc)
|
||||
|
@ -76,7 +76,7 @@ static BOOL test_NCrushDecompressBells(void)
|
||||
UINT32 SrcSize;
|
||||
UINT32 DstSize;
|
||||
UINT32 expectedSize;
|
||||
BYTE* pDstData = NULL;
|
||||
const BYTE* pDstData = NULL;
|
||||
NCRUSH_CONTEXT* ncrush = ncrush_context_new(FALSE);
|
||||
|
||||
if (!ncrush)
|
||||
|
@ -29,7 +29,7 @@ static WCHAR testDelimiter[] = { '\r', '\n', '\0' };
|
||||
|
||||
int TestString(int argc, char* argv[])
|
||||
{
|
||||
WCHAR* p;
|
||||
const WCHAR* p;
|
||||
size_t pos;
|
||||
size_t length;
|
||||
WCHAR* context;
|
||||
|
Loading…
x
Reference in New Issue
Block a user