summaryrefslogtreecommitdiff
path: root/fofi/FoFiBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'fofi/FoFiBase.h')
-rw-r--r--fofi/FoFiBase.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/fofi/FoFiBase.h b/fofi/FoFiBase.h
index a34acc7e..e3413b10 100644
--- a/fofi/FoFiBase.h
+++ b/fofi/FoFiBase.h
@@ -46,7 +46,7 @@ public:
protected:
- FoFiBase(char *fileA, int lenA, GBool freeFileDataA);
+ FoFiBase(const char *fileA, int lenA, GBool freeFileDataA);
static char *readFile(const char *fileName, int *fileLen);
// S = signed / U = unsigned
@@ -63,8 +63,7 @@ protected:
GBool checkRegion(int pos, int size) const;
- Guchar *fileData;
- Guchar *file;
+ const Guchar *file;
int len;
GBool freeFileData;
};