freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16

This commit is contained in:
Marc-André Moreau
2012-10-09 03:01:37 -04:00
parent 1ed644786c
commit 1bf8a45519
287 changed files with 4735 additions and 4782 deletions

View File

@@ -38,7 +38,7 @@ void update_gdi_memblt(rdpContext* context, MEMBLT_ORDER* memblt)
if (memblt->cacheId == 0xFF)
bitmap = offscreen_cache_get(cache->offscreen, memblt->cacheIndex);
else
bitmap = bitmap_cache_get(cache->bitmap, (uint8) memblt->cacheId, memblt->cacheIndex);
bitmap = bitmap_cache_get(cache->bitmap, (BYTE) memblt->cacheId, memblt->cacheIndex);
memblt->bitmap = bitmap;
IFCALL(cache->bitmap->MemBlt, context, memblt);
@@ -46,7 +46,7 @@ void update_gdi_memblt(rdpContext* context, MEMBLT_ORDER* memblt)
void update_gdi_mem3blt(rdpContext* context, MEM3BLT_ORDER* mem3blt)
{
uint8 style;
BYTE style;
rdpBitmap* bitmap;
rdpCache* cache = context->cache;
rdpBrush* brush = &mem3blt->brush;
@@ -54,7 +54,7 @@ void update_gdi_mem3blt(rdpContext* context, MEM3BLT_ORDER* mem3blt)
if (mem3blt->cacheId == 0xFF)
bitmap = offscreen_cache_get(cache->offscreen, mem3blt->cacheIndex);
else
bitmap = bitmap_cache_get(cache->bitmap, (uint8) mem3blt->cacheId, mem3blt->cacheIndex);
bitmap = bitmap_cache_get(cache->bitmap, (BYTE) mem3blt->cacheId, mem3blt->cacheIndex);
style = brush->style;

View File

@@ -32,7 +32,7 @@
void update_gdi_patblt(rdpContext* context, PATBLT_ORDER* patblt)
{
uint8 style;
BYTE style;
rdpBrush* brush = &patblt->brush;
rdpCache* cache = context->cache;
@@ -56,7 +56,7 @@ void update_gdi_polygon_sc(rdpContext* context, POLYGON_SC_ORDER* polygon_sc)
void update_gdi_polygon_cb(rdpContext* context, POLYGON_CB_ORDER* polygon_cb)
{
uint8 style;
BYTE style;
rdpBrush* brush = &polygon_cb->brush;
rdpCache* cache = context->cache;

View File

@@ -29,7 +29,7 @@
#include <freerdp/cache/glyph.h>
void update_process_glyph(rdpContext* context, uint8* data, int* index,
void update_process_glyph(rdpContext* context, BYTE* data, int* index,
int* x, int* y, uint32 cacheId, uint32 ulCharInc, uint32 flAccel)
{
int offset;
@@ -72,7 +72,7 @@ void update_process_glyph(rdpContext* context, uint8* data, int* index,
}
}
void update_process_glyph_fragments(rdpContext* context, uint8* data, uint32 length,
void update_process_glyph_fragments(rdpContext* context, BYTE* data, uint32 length,
uint32 cacheId, uint32 ulCharInc, uint32 flAccel, uint32 bgcolor, uint32 fgcolor, int x, int y,
int bkX, int bkY, int bkWidth, int bkHeight, int opX, int opY, int opWidth, int opHeight)
{
@@ -80,7 +80,7 @@ void update_process_glyph_fragments(rdpContext* context, uint8* data, uint32 len
uint32 id;
uint32 size;
int index = 0;
uint8* fragments;
BYTE* fragments;
rdpGraphics* graphics;
rdpGlyphCache* glyph_cache;
@@ -106,7 +106,7 @@ void update_process_glyph_fragments(rdpContext* context, uint8* data, uint32 len
}
id = data[index + 1];
fragments = (uint8*) glyph_cache_fragment_get(glyph_cache, id, &size);
fragments = (BYTE*) glyph_cache_fragment_get(glyph_cache, id, &size);
if (fragments != NULL)
{
@@ -143,7 +143,7 @@ void update_process_glyph_fragments(rdpContext* context, uint8* data, uint32 len
id = data[index + 1];
size = data[index + 2];
fragments = (uint8*) malloc(size);
fragments = (BYTE*) malloc(size);
memcpy(fragments, data, size);
glyph_cache_fragment_put(glyph_cache, id, size, fragments);
@@ -198,7 +198,7 @@ void update_gdi_fast_index(rdpContext* context, FAST_INDEX_ORDER* fast_index)
if (opBottom == -32768)
{
uint8 flags = (uint8) (opTop & 0x0F);
BYTE flags = (BYTE) (opTop & 0x0F);
if (flags & 0x01)
opBottom = fast_index->bkBottom;
@@ -238,7 +238,7 @@ void update_gdi_fast_glyph(rdpContext* context, FAST_GLYPH_ORDER* fast_glyph)
GLYPH_DATA_V2* glyph_data;
rdpGlyph* glyph;
rdpCache* cache = context->cache;
uint8 text_data[2];
BYTE text_data[2];
opLeft = fast_glyph->opLeft;
opTop = fast_glyph->opTop;
@@ -249,7 +249,7 @@ void update_gdi_fast_glyph(rdpContext* context, FAST_GLYPH_ORDER* fast_glyph)
if (opBottom == -32768)
{
uint8 flags = (uint8) (opTop & 0x0F);
BYTE flags = (BYTE) (opTop & 0x0F);
if (flags & 0x01)
opBottom = fast_glyph->bkBottom;
@@ -417,7 +417,7 @@ void* glyph_cache_fragment_get(rdpGlyphCache* glyph_cache, uint32 index, uint32*
void* fragment;
fragment = glyph_cache->fragCache.entries[index].fragment;
*size = (uint8) glyph_cache->fragCache.entries[index].size;
*size = (BYTE) glyph_cache->fragCache.entries[index].size;
if (fragment == NULL)
{

View File

@@ -31,7 +31,7 @@
void update_gdi_create_offscreen_bitmap(rdpContext* context, CREATE_OFFSCREEN_BITMAP_ORDER* create_offscreen_bitmap)
{
int i;
uint16 index;
UINT16 index;
rdpBitmap* bitmap;
rdpCache* cache = context->cache;