summaryrefslogtreecommitdiff
path: root/libs/freeimage/src/CacheFile.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 16:39:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 16:39:04 +0300
commit62a186697df33c96dc1a6dac0f4dfc38652fb96f (patch)
tree1437d0906218fae8827aed384026f2b7e656f4ac /libs/freeimage/src/CacheFile.h
parentfcbb395dc7ff3edab972b6d4b27dbbfb3305f5d7 (diff)
BYTE -> uint8_t
Diffstat (limited to 'libs/freeimage/src/CacheFile.h')
-rw-r--r--libs/freeimage/src/CacheFile.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/freeimage/src/CacheFile.h b/libs/freeimage/src/CacheFile.h
index 7f1ab72a31..6eb1558999 100644
--- a/libs/freeimage/src/CacheFile.h
+++ b/libs/freeimage/src/CacheFile.h
@@ -43,7 +43,7 @@ static const int BLOCK_SIZE = (64 * 1024) - 8;
struct Block {
unsigned nr;
unsigned next;
- BYTE *data;
+ uint8_t *data;
};
#ifdef _WIN32
@@ -67,8 +67,8 @@ public :
BOOL open(const std::string& filename = "", BOOL keep_in_memory = TRUE);
void close();
- BOOL readFile(BYTE *data, int nr, int size);
- int writeFile(BYTE *data, int size);
+ BOOL readFile(uint8_t *data, int nr, int size);
+ int writeFile(uint8_t *data, int size);
void deleteFile(int nr);
private :