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)
{
// 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)
return NULL;
uchar* value = fHeadMemblock->data;
unsigned char* value = fHeadMemblock->data;
fHeadMemblock->offset = size;
fHeadMemblock->next = NULL;
@ -567,7 +567,7 @@ GIFLoad::MemblockAllocate(int size)
if (block == NULL)
return NULL;
uchar* value = block->data;
unsigned char* value = block->data;
block->offset = size;
block->next = NULL;
last->next = block;

View File

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