summaryrefslogtreecommitdiff
path: root/common/file.cpp
diff options
context:
space:
mode:
authorleo2001-01-28 15:19:31 +0000
committerleo2001-01-28 15:19:31 +0000
commit1b876e81d536ed4ca9fd4eb2c49ed5e72c40032d (patch)
treeea0a01ff9425ef9c9d97d1ce7a8a104b227c1d08 /common/file.cpp
parent807910891d43ec08f101425641894fe90063e11f (diff)
Use new variables types
git-svn-id: http://svn.leocad.org/trunk@229 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common/file.cpp')
-rw-r--r--common/file.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/file.cpp b/common/file.cpp
index 70521a3..435c6c8 100644
--- a/common/file.cpp
+++ b/common/file.cpp
@@ -39,7 +39,7 @@ unsigned long File::ReadShort (void* pBuf, unsigned long nCount)
#ifdef LC_BIG_ENDIAN
unsigned long i;
- unsigned short* val = (unsigned short*)pBuf, x;
+ lcuint16* val = (lcuint16*)pBuf, x;
for (i = 0; i < read; i++)
{
@@ -61,7 +61,7 @@ unsigned long File::ReadLong (void* pBuf, unsigned long nCount)
#ifdef LC_BIG_ENDIAN
unsigned long i;
- unsigned long* val = (unsigned long*)pBuf, x;
+ lcuint32* val = (lcuint32*)pBuf, x;
for (i = 0; i < read; i++)
{
@@ -147,7 +147,7 @@ unsigned long File::WriteShort (const void* pBuf, unsigned long nCount)
{
#ifdef LC_BIG_ENDIAN
unsigned long wrote = 0, i;
- unsigned short* val = (unsigned short*)pBuf, x;
+ lcuint16* val = (lcuint16*)pBuf, x;
for (i = 0; i < nCount; i++)
{
@@ -167,7 +167,7 @@ unsigned long File::WriteLong (const void* pBuf, unsigned long nCount)
{
#ifdef LC_BIG_ENDIAN
unsigned long wrote = 0, i;
- unsigned long* val = (unsigned long*)pBuf, x;
+ lcuint32* val = (lcuint32*)pBuf, x;
for (i = 0; i < nCount; i++)
{