summaryrefslogtreecommitdiff
path: root/graphics/crystalspace/files/patch-plugins-mesh-genmesh-persist-gmesh3ds_gmesh3ds.cpp
blob: d408aa15ba160118bbef94736531348148d64a2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- plugins/mesh/genmesh/persist/gmesh3ds/gmesh3ds.cpp	Mon Sep 10 10:41:09 2007
+++ plugins/mesh/genmesh/persist/gmesh3ds/gmesh3ds.cpp	Mon Sep 10 10:42:20 2007
@@ -278,15 +278,15 @@
 }
 
 
-static int DataReadFunc (void *self, Lib3dsByte *buffer, int size)
+static size_t DataReadFunc (void *self, void *buffer, size_t size)
 {
   iFile* pData = (iFile*)self;
   return (int)pData->Read ((char*)buffer, size );
 }
 
 
-static int DataWriteFunc (void* /*self*/, const Lib3dsByte* /*buffer*/,
-	int /*size*/)
+static size_t DataWriteFunc (void* /*self*/, const void* /*buffer*/,
+	size_t /*size*/)
 {
   // not yet implemented
   return 0;