diff options
author | rikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-04-23 18:44:09 +0000 |
---|---|---|
committer | rikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-04-23 18:44:09 +0000 |
commit | e5647ace96f77218500f7a91bdb8248a6e1e18fd (patch) | |
tree | 041ddbe849ba0c6e3acb417c7226f73eb6ad723f /navit/maptool/osm_protobufdb.c | |
parent | 62e8982d751025e74bcdc2f59362ea89536d0b20 (diff) | |
download | navit-e5647ace96f77218500f7a91bdb8248a6e1e18fd.tar.gz |
Fix:core:Fix some warnings
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5032 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/maptool/osm_protobufdb.c')
-rw-r--r-- | navit/maptool/osm_protobufdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/maptool/osm_protobufdb.c b/navit/maptool/osm_protobufdb.c index 77f4aa686..315de6a27 100644 --- a/navit/maptool/osm_protobufdb.c +++ b/navit/maptool/osm_protobufdb.c @@ -421,7 +421,7 @@ osm_protobufdb_string(struct osm_protobufdb_context *ctx, char *str) gpointer value; assert(ctx->string_hash != NULL); if (g_hash_table_lookup_extended(ctx->string_hash, str, NULL, &value)) { - return (int)value; + return (long)value; } if (!st->n_s) { st->n_s++; |