diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-01-24 16:17:33 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-01-24 16:17:33 +0000 |
commit | 6f18c87ad814ee4757b0cc761370d1cf03f66d85 (patch) | |
tree | 25e49afb651146bc9deac59cd17bf52e374bb087 /navit/item.c | |
parent | 6b27a60e0d5d1c73c4cb171ab8b3f9817c882e01 (diff) | |
download | navit-svn-6f18c87ad814ee4757b0cc761370d1cf03f66d85.tar.gz |
Fix:Core:MSVC fixes|Thanks chollya
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3986 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/item.c')
-rw-r--r-- | navit/item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/item.c b/navit/item.c index 16043002..99020d4a 100644 --- a/navit/item.c +++ b/navit/item.c @@ -343,7 +343,7 @@ item_dump_filedesc(struct item *item, struct map *map, FILE *out) { int i,count,max=16384; - struct coord ca[max]; + struct coord *ca=g_alloca(sizeof(struct coord)*max); count=item_coord_get(item, ca, item->type < type_line ? 1: max); if (item->type < type_line) |