From 6ff3ca264dff905fc97b525a141c5d332dd55ee8 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Sat, 1 Mar 2014 02:01:18 -0500 Subject: [PATCH] GIFTranslator: Style change, uchar => unsigned char --- src/add-ons/translators/gif/GIFLoad.cpp | 6 +++--- src/add-ons/translators/gif/GIFLoad.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/add-ons/translators/gif/GIFLoad.cpp b/src/add-ons/translators/gif/GIFLoad.cpp index 42cba3a50d..1abe69551d 100644 --- a/src/add-ons/translators/gif/GIFLoad.cpp +++ b/src/add-ons/translators/gif/GIFLoad.cpp @@ -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; diff --git a/src/add-ons/translators/gif/GIFLoad.h b/src/add-ons/translators/gif/GIFLoad.h index e8143677ae..f4b0274404 100644 --- a/src/add-ons/translators/gif/GIFLoad.h +++ b/src/add-ons/translators/gif/GIFLoad.h @@ -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);