mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
freerdp: get rid of old types
This commit is contained in:
@@ -143,7 +143,7 @@ void test_cliprdr(void)
|
||||
event = freerdp_event_new(RDP_EVENT_CLASS_CLIPRDR, RDP_EVENT_TYPE_CB_FORMAT_LIST, event_process_callback, NULL);
|
||||
format_list_event = (RDP_CB_FORMAT_LIST_EVENT*) event;
|
||||
format_list_event->num_formats = 2;
|
||||
format_list_event->formats = (uint32*) malloc(sizeof(uint32) * 2);
|
||||
format_list_event->formats = (UINT32*) malloc(sizeof(UINT32) * 2);
|
||||
format_list_event->formats[0] = CB_FORMAT_TEXT;
|
||||
format_list_event->formats[1] = CB_FORMAT_HTML;
|
||||
event_processed = 0;
|
||||
|
||||
@@ -53,7 +53,7 @@ int add_color_suite(void)
|
||||
void test_color_GetRGB32(void)
|
||||
{
|
||||
int r, g, b;
|
||||
uint32 rgb32 = 0x00AABBCC;
|
||||
UINT32 rgb32 = 0x00AABBCC;
|
||||
GetRGB32(r, g, b, rgb32);
|
||||
|
||||
CU_ASSERT(r == 0xAA);
|
||||
@@ -64,7 +64,7 @@ void test_color_GetRGB32(void)
|
||||
void test_color_GetBGR32(void)
|
||||
{
|
||||
int r, g, b;
|
||||
uint32 bgr32 = 0x00CCBBAA;
|
||||
UINT32 bgr32 = 0x00CCBBAA;
|
||||
GetBGR32(r, g, b, bgr32);
|
||||
|
||||
CU_ASSERT(r == 0xAA);
|
||||
|
||||
@@ -636,8 +636,8 @@ int add_mppc_suite(void)
|
||||
void test_mppc(void)
|
||||
{
|
||||
struct rdp_mppc_dec* rmppc;
|
||||
uint32_t roff;
|
||||
uint32_t rlen;
|
||||
UINT32_t roff;
|
||||
UINT32_t rlen;
|
||||
long int dur;
|
||||
|
||||
struct timeval start_time;
|
||||
|
||||
@@ -494,8 +494,8 @@ void test_mppc_enc(void)
|
||||
|
||||
/* needed by decoder */
|
||||
struct rdp_mppc_dec* rmppc;
|
||||
uint32 roff;
|
||||
uint32 rlen;
|
||||
UINT32 roff;
|
||||
UINT32 rlen;
|
||||
|
||||
/* required for timing the test */
|
||||
struct timeval start_time;
|
||||
|
||||
@@ -58,7 +58,7 @@ BYTE test_packet_3[64] =
|
||||
typedef struct
|
||||
{
|
||||
void* data;
|
||||
uint32 length;
|
||||
UINT32 length;
|
||||
} test_packet;
|
||||
|
||||
void test_pcap(void)
|
||||
|
||||
@@ -411,7 +411,7 @@ typedef struct
|
||||
typedef struct
|
||||
{
|
||||
RAIL_ORDERS order_info;
|
||||
uint32 event_type;
|
||||
UINT32 event_type;
|
||||
}
|
||||
RAIL_EVENT;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user