aboutsummaryrefslogtreecommitdiff
path: root/src/nad_init.c
diff options
context:
space:
mode:
authorFrank Warmerdam <warmerdam@pobox.com>2002-07-08 02:32:05 +0000
committerFrank Warmerdam <warmerdam@pobox.com>2002-07-08 02:32:05 +0000
commit22b01721aee54803d0d0d5566e4a9b2ef1384382 (patch)
tree1a2f1b797d3c9549518a5cc778201f1366e10e88 /src/nad_init.c
parentd26cb6597ecd1c6b612d0159651cd607f9003a09 (diff)
downloadPROJ-22b01721aee54803d0d0d5566e4a9b2ef1384382.tar.gz
PROJ-22b01721aee54803d0d0d5566e4a9b2ef1384382.zip
ensure clean C++ builds
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1025 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src/nad_init.c')
-rw-r--r--src/nad_init.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nad_init.c b/src/nad_init.c
index 455f4b14..cdc13d41 100644
--- a/src/nad_init.c
+++ b/src/nad_init.c
@@ -28,6 +28,9 @@
******************************************************************************
*
* $Log$
+ * Revision 1.6 2002/07/08 02:32:05 warmerda
+ * ensure clean C++ builds
+ *
* Revision 1.5 2002/04/30 16:26:07 warmerda
* trip newlines of ctable id field
*
@@ -45,6 +48,7 @@
#include <stdio.h>
#include <errno.h>
#include <assert.h>
+#include <string.h>
static int byte_order_test = 1;
#define IS_LSB (((unsigned char *) (&byte_order_test))[0] == 1)
@@ -92,7 +96,7 @@ static void local_order( unsigned char *data, int word_size, int word_count )
static struct CTABLE *nad_load_ntv1( FILE * fid )
{
- char header[176];
+ unsigned char header[176];
struct CTABLE *ct;
LP ur;
double *row_buf;