summaryrefslogtreecommitdiff
path: root/src/win95/chnktexi.cpp
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2007-01-07 05:38:12 +0000
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:37 +0200
commit030db5bb236344370342447d31a3d685dd93ad92 (patch)
tree1cae501851965c7536077817c157a60cdb53a0f5 /src/win95/chnktexi.cpp
parentd9a250e1dfd9ed24ce5b0f3d5baa85e0b57b3d55 (diff)
compile fixes for gcc 4.0 / osx.
Diffstat (limited to 'src/win95/chnktexi.cpp')
-rw-r--r--src/win95/chnktexi.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/win95/chnktexi.cpp b/src/win95/chnktexi.cpp
index 6487737..bae637b 100644
--- a/src/win95/chnktexi.cpp
+++ b/src/win95/chnktexi.cpp
@@ -102,7 +102,7 @@ static char * RiffBasename(Chunk_With_Children * pEnvDataChunk)
#if CL_SUPPORT_FASTFILE
static inline bool IsFileInFastFile(char const * pszFileName)
{
- unsigned nLen;
+ size_t nLen;
return ffreadbuf(pszFileName,&nLen) ? true : false;
}
#endif
@@ -714,7 +714,7 @@ int CL_LoadImageOnce(char const * pszFileName, unsigned fFlagsEtc)
case LIO_DDSURFACE:
{
#if CL_SUPPORT_FASTFILE
- unsigned nFastFileLen;
+ size_t nFastFileLen;
void const * pFastFileData = ffreadbuf(szBuf,&nFastFileLen);
if (pFastFileData)
{
@@ -823,7 +823,7 @@ int CL_LoadImageOnce(char const * pszFileName, unsigned fFlagsEtc)
{
fAwLoad |= AW_TLF_COMPRESS; // required on some cards!!
#if CL_SUPPORT_FASTFILE
- unsigned nFastFileLen;
+ size_t nFastFileLen;
void const * pFastFileData = ffreadbuf(szBuf,&nFastFileLen);
if (pFastFileData)
{