summaryrefslogtreecommitdiff
path: root/navit/item.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-01-24 16:17:33 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-01-24 16:17:33 +0000
commit6f18c87ad814ee4757b0cc761370d1cf03f66d85 (patch)
tree25e49afb651146bc9deac59cd17bf52e374bb087 /navit/item.c
parent6b27a60e0d5d1c73c4cb171ab8b3f9817c882e01 (diff)
downloadnavit-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.c2
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)