From 19f3e9da4e01f21bdc4591123d9d98f6b46a27a7 Mon Sep 17 00:00:00 2001 From: martin-s Date: Tue, 2 Aug 2011 21:40:25 +0000 Subject: [PATCH] Add:map_binfile:Warning if zip structures are not correctly aligned git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4672 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/navit/map/binfile/binfile.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/navit/navit/map/binfile/binfile.c b/navit/navit/map/binfile/binfile.c index 64d84d0..c2ac7de 100644 --- a/navit/navit/map/binfile/binfile.c +++ b/navit/navit/map/binfile/binfile.c @@ -2522,6 +2522,9 @@ void plugin_init(void) { dbg(1,"binfile: plugin_init\n"); + if (sizeof(struct zip_cd) != 46) { + dbg(0,"error: sizeof(struct zip_cd)=%d\n",sizeof(struct zip_cd)); + } plugin_register_map_type("binfile", map_new_binfile); } -- 2.7.4