diff options
author | Wolfgang Draxinger <Wolfgang.Draxinger@draxit.de> | 2013-07-26 11:14:54 +0200 |
---|---|---|
committer | Wolfgang Draxinger <Wolfgang.Draxinger@draxit.de> | 2013-07-26 11:14:54 +0200 |
commit | 4842cb28522a89c0a6d800139b934001484fadbe (patch) | |
tree | 62086ddb090bb031e2677f13dfeec1a1a6b0033d /samples/OpenGL/qt_terr/terragen.cpp | |
parent | 12c48a05b2f5c51c61ff744f419bdd85a552612c (diff) | |
download | codesamples-4842cb28522a89c0a6d800139b934001484fadbe.tar.gz codesamples-4842cb28522a89c0a6d800139b934001484fadbe.tar.bz2 |
...
Diffstat (limited to 'samples/OpenGL/qt_terr/terragen.cpp')
-rw-r--r-- | samples/OpenGL/qt_terr/terragen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/OpenGL/qt_terr/terragen.cpp b/samples/OpenGL/qt_terr/terragen.cpp index 3b922a4..73c6eaa 100644 --- a/samples/OpenGL/qt_terr/terragen.cpp +++ b/samples/OpenGL/qt_terr/terragen.cpp @@ -16,7 +16,7 @@ typedef uint8_t OCTET[8]; #define DUET_TO_NUMBER(duet) ((duet[0]|duet[1]<<8))
#define QUARTET_TO_NUMBER(quartet) ((quartet[0])|(quartet[1]<<8)|(quartet[2]<<16)|(quartet[3]<<24))
-int read_terrain(char *filename, double **pbuffer, int *width, int *height, double *scale)
+int read_terrain(char const *filename, double **pbuffer, int *width, int *height, double *scale)
// [in] filename: path to the file to be read in
// [out] pbuffer: address of new allocated data buffer
// [out] width: width of the terrain
|