GIFTranslator: Style change, uchar => unsigned char
This commit is contained in:
parent
071f3a6ea0
commit
6ff3ca264d
@ -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;
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user