mirror of https://github.com/FreeRDP/FreeRDP
Warning fixes.
This commit is contained in:
parent
a3fd9bf5af
commit
44b8756617
|
@ -125,9 +125,9 @@ static BOOL gdi_rop_color(UINT32 rop, BYTE* pixelPtr, UINT32 pen, UINT32 format)
|
|||
|
||||
BOOL gdi_LineTo(HGDI_DC hdc, UINT32 nXEnd, UINT32 nYEnd)
|
||||
{
|
||||
UINT32 x, y;
|
||||
UINT32 x1, y1;
|
||||
UINT32 x2, y2;
|
||||
INT32 x, y;
|
||||
INT32 x1, y1;
|
||||
INT32 x2, y2;
|
||||
INT32 e, e2;
|
||||
INT32 dx, dy;
|
||||
INT32 sx, sy;
|
||||
|
|
|
@ -1011,7 +1011,7 @@ static BOOL shadow_client_send_bitmap_update(rdpShadowClient* client,
|
|||
|
||||
if (updateSizeEstimate > maxUpdateSize)
|
||||
{
|
||||
UINT32 i, j;
|
||||
INT32 i, j;
|
||||
UINT32 updateSize;
|
||||
UINT32 newUpdateSize;
|
||||
BITMAP_DATA* fragBitmapData = NULL;
|
||||
|
|
|
@ -30,9 +30,9 @@ struct _wBitStream
|
|||
{
|
||||
const BYTE* buffer;
|
||||
BYTE* pointer;
|
||||
int position;
|
||||
int length;
|
||||
int capacity;
|
||||
UINT32 position;
|
||||
UINT32 length;
|
||||
UINT32 capacity;
|
||||
UINT32 mask;
|
||||
UINT32 offset;
|
||||
UINT32 prefetch;
|
||||
|
|
|
@ -3445,7 +3445,7 @@ unsigned lodepng_convert(unsigned char* out, const unsigned char* in,
|
|||
|
||||
if(mode_out->colortype == LCT_PALETTE)
|
||||
{
|
||||
size_t palsize = 1u << mode_out->bitdepth;
|
||||
size_t palsize = 1u << mode_out->bitdepth;
|
||||
if(mode_out->palettesize < palsize) palsize = mode_out->palettesize;
|
||||
color_tree_init(&tree);
|
||||
for(i = 0; i < palsize; i++)
|
||||
|
|
|
@ -15,7 +15,7 @@ int TestWtsApiExtraSendMessage(int argc, char* argv[])
|
|||
|
||||
hServer = WTS_CURRENT_SERVER_HANDLE;
|
||||
|
||||
bSuccess = WTSSendMessage(hServer, WTS_CURRENT_SESSION,TITLE,strlen(TITLE) + 1, MESSAGE, strlen(MESSAGE) + 1, MB_CANCELTRYCONTINUE, 3 , &result,TRUE);
|
||||
bSuccess = WTSSendMessageA(hServer, WTS_CURRENT_SESSION,TITLE,strlen(TITLE) + 1, MESSAGE, strlen(MESSAGE) + 1, MB_CANCELTRYCONTINUE, 3 , &result,TRUE);
|
||||
|
||||
if (!bSuccess)
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@ int TestWtsApiExtraStartRemoteSessionEx(int argc, char* argv[])
|
|||
ULONG logonId = 0;
|
||||
char logonIdStr[10];
|
||||
|
||||
bSuccess = GetEnvironmentVariable("TEST_SESSION_LOGON_ID", logonIdStr, 10);
|
||||
bSuccess = GetEnvironmentVariableA("TEST_SESSION_LOGON_ID", logonIdStr, 10);
|
||||
if(bSuccess)
|
||||
{
|
||||
sscanf(logonIdStr, "%u\n", &logonId);
|
||||
|
|
Loading…
Reference in New Issue