summaryrefslogtreecommitdiff
path: root/navit
diff options
context:
space:
mode:
Diffstat (limited to 'navit')
-rw-r--r--navit/maptool/osm_o5m.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/maptool/osm_o5m.c b/navit/maptool/osm_o5m.c
index d418c97c5..e5949000c 100644
--- a/navit/maptool/osm_o5m.c
+++ b/navit/maptool/osm_o5m.c
@@ -8,7 +8,7 @@ static int print;
static char *types[]={"node","way","relation"};
struct o5m {
- unsigned char buffer[65536];
+ unsigned char buffer[65536*2];
int buffer_size;
unsigned char *buffer_start;
unsigned char *buffer_end;
@@ -208,7 +208,7 @@ map_collect_data_osm_o5m(FILE *in, struct maptool_osm *osm)
return 0;
}
if (buffer_end(&o, len)) {
- fprintf(stderr,"unexpected eof or buffer too small\n");
+ fprintf(stderr,"unexpected eof or buffer too small, item type %d, item size %d\n", c, len);
return 0;
}
end=o.buffer_start+len;