Line 0
Link Here
|
|
|
1 |
--- storage/connect/filamap.h.orig 2014-09-25 00:29:47.000000000 +0200 |
2 |
+++ storage/connect/filamap.h 2014-09-27 11:44:39.000000000 +0200 |
3 |
@@ -47,7 +47,7 @@ |
4 |
virtual void Rewind(void); |
5 |
|
6 |
protected: |
7 |
- virtual int InitDelete(PGLOBAL g, int fpos, int spos); |
8 |
+ virtual int InitDelete(PGLOBAL g, uintptr_t fpos, uintptr_t spos); |
9 |
|
10 |
// Members |
11 |
char *Memory; // Pointer on file mapping view. |
12 |
@@ -104,13 +104,13 @@ |
13 |
virtual int MaxBlkSize(PGLOBAL g, int s) |
14 |
{return TXTFAM::MaxBlkSize(g, s);} |
15 |
virtual bool SetPos(PGLOBAL g, int recpos); |
16 |
- virtual int GetNextPos(void) {return (int)Fpos + Nrec;} |
17 |
+ virtual int GetNextPos(void) {return (uintptr_t)Fpos + Nrec;} |
18 |
virtual bool DeferReading(void) {return false;} |
19 |
virtual int ReadBuffer(PGLOBAL g); |
20 |
virtual int WriteBuffer(PGLOBAL g); |
21 |
|
22 |
protected: |
23 |
- virtual int InitDelete(PGLOBAL g, int fpos, int spos); |
24 |
+ virtual int InitDelete(PGLOBAL g, uintptr_t fpos, uintptr_t spos); |
25 |
|
26 |
// No additional members |
27 |
}; // end of class MPXFAM |