diff options
author | chris <chris> | 2006-09-20 12:46:29 +0000 |
---|---|---|
committer | chris <chris> | 2006-09-20 12:46:29 +0000 |
commit | 85055f35dbffe55e96aff29e9d86f29a4d188a47 (patch) | |
tree | 01ebf0312a3b1111b8e5a080ca40abf827fa13b9 | |
parent | 8896dbf2b5c9624235454626654454ae6ef31af5 (diff) |
Note warning.
-rw-r--r-- | tileserver/cdb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tileserver/cdb.c b/tileserver/cdb.c index 696c6bacd..6c60dec8d 100644 --- a/tileserver/cdb.c +++ b/tileserver/cdb.c @@ -9,7 +9,7 @@ * */ -static const char rcsid[] = "$Id: cdb.c,v 1.2 2006-09-19 21:09:19 chris Exp $"; +static const char rcsid[] = "$Id: cdb.c,v 1.3 2006-09-20 12:46:29 chris Exp $"; #include <sys/types.h> @@ -97,6 +97,8 @@ cdb cdb_open_fp(FILE *fp) { if (!(C = malloc(sizeof *C))) FAIL(CDB_OUT_OF_MEMORY); + /* XXX this will give a warning if we compile with 32-bit off_t; need to + * add an appropriate conditional. */ if (st.st_size > 0xffffffffll) FAIL(CDB_FILE_TOO_BIG); |