summaryrefslogtreecommitdiff
path: root/common/group.cpp
diff options
context:
space:
mode:
authorleo2000-01-01 21:11:39 +0000
committerleo2000-01-01 21:11:39 +0000
commit905cb8cbbe9a2c59784d95899df948dd9e50c069 (patch)
tree60c892499c58f12059c718b7a815eeda558cb9bc /common/group.cpp
parent57cf61ef70f435674e17de7ac13388ba3ee100ac (diff)
Changes to help porting to other platforms
git-svn-id: http://svn.leocad.org/trunk@44 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common/group.cpp')
-rw-r--r--common/group.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/group.cpp b/common/group.cpp
index e20a1f5..89c6299 100644
--- a/common/group.cpp
+++ b/common/group.cpp
@@ -52,7 +52,7 @@ void Group::FileLoad(File* file)
file->Read(&version, 1);
file->Read(m_strName, 65);
file->Read(m_fCenter, 12);
- file->Read(&i, 4);
+ file->ReadLong(&i, 1);
m_pGroup = (Group*)i;
}
@@ -75,5 +75,5 @@ void Group::FileSave(File* file, Group* pGroups)
else
i++;
}
- file->Write(&i, 4);
+ file->WriteLong(&i, 1);
}