From: Julian Seward Date: Tue, 18 Aug 2015 07:54:22 +0000 (+0000) Subject: Fix a second format string error observed whilst building on OSX 10.10. X-Git-Tag: svn/VALGRIND_3_11_0~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d6732e9df341fe9774c4aa893e7edd6e0a30bf8;p=thirdparty%2Fvalgrind.git Fix a second format string error observed whilst building on OSX 10.10. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15564 --- diff --git a/coregrind/m_debuginfo/readpdb.c b/coregrind/m_debuginfo/readpdb.c index 47f1200de1..664b5aa9d6 100644 --- a/coregrind/m_debuginfo/readpdb.c +++ b/coregrind/m_debuginfo/readpdb.c @@ -2384,15 +2384,15 @@ Bool ML_(read_pdb_debug_info)( const DebugInfoMapping* map = VG_(indexXA)(di->fsm.maps, i); if (map->rx) VG_(dmsg)("LOAD_PDB_DEBUGINFO: " - "rx_map: avma %#lx size %7lu foff %ld\n", - map->avma, map->size, map->foff); + "rx_map: avma %#lx size %7lu foff %lld\n", + map->avma, map->size, (Long)map->foff); } for (i = 0; i < VG_(sizeXA)(di->fsm.maps); i++) { const DebugInfoMapping* map = VG_(indexXA)(di->fsm.maps, i); if (map->rw) VG_(dmsg)("LOAD_PDB_DEBUGINFO: " - "rw_map: avma %#lx size %7lu foff %ld\n", - map->avma, map->size, map->foff); + "rw_map: avma %#lx size %7lu foff %lld\n", + map->avma, map->size, (Long)map->foff); } VG_(dmsg)("LOAD_PDB_DEBUGINFO: "