GIFTranslator: Style change, uchar => unsigned char

This commit is contained in:
John Scipione 2014-03-01 02:01:18 -05:00
parent 071f3a6ea0
commit 6ff3ca264d
2 changed files with 4 additions and 4 deletions

View File

@ -533,7 +533,7 @@ GIFLoad::InitFrame(int size)
} }
uchar* unsigned char*
GIFLoad::MemblockAllocate(int size) GIFLoad::MemblockAllocate(int size)
{ {
// Do 4k mallocs, keep them in a linked list, do a first fit across // Do 4k mallocs, keep them in a linked list, do a first fit across
@ -544,7 +544,7 @@ GIFLoad::MemblockAllocate(int size)
if (fHeadMemblock == NULL) if (fHeadMemblock == NULL)
return NULL; return NULL;
uchar* value = fHeadMemblock->data; unsigned char* value = fHeadMemblock->data;
fHeadMemblock->offset = size; fHeadMemblock->offset = size;
fHeadMemblock->next = NULL; fHeadMemblock->next = NULL;
@ -567,7 +567,7 @@ GIFLoad::MemblockAllocate(int size)
if (block == NULL) if (block == NULL)
return NULL; return NULL;
uchar* value = block->data; unsigned char* value = block->data;
block->offset = size; block->offset = size;
block->next = NULL; block->next = NULL;
last->next = block; last->next = block;

View File

@ -59,7 +59,7 @@ private:
short NextCode(); short NextCode();
void ResetTable(); void ResetTable();
uchar* MemblockAllocate(int size); unsigned char* MemblockAllocate(int size);
void MemblockDeleteAll(); void MemblockDeleteAll();
inline bool OutputColor(unsigned char* string, int size); inline bool OutputColor(unsigned char* string, int size);