Marcin Baczyński : winedump: Remove superfluous void* cast.

Alexandre Julliard julliard at winehq.org
Thu Jan 7 13:08:35 CST 2010


Module: wine
Branch: master
Commit: 6a02e744b92e87b70611c40f42900c49898fef9f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6a02e744b92e87b70611c40f42900c49898fef9f

Author: Marcin Baczyński <marbacz at gmail.com>
Date:   Wed Jan  6 23:38:30 2010 +0100

winedump: Remove superfluous void* cast.

---

 tools/winedump/pe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/winedump/pe.c b/tools/winedump/pe.c
index d00d2ea..2732662 100644
--- a/tools/winedump/pe.c
+++ b/tools/winedump/pe.c
@@ -1425,7 +1425,7 @@ static void dump_symbol_table(void)
     numsym = PE_nt_headers->FileHeader.NumberOfSymbols;
     if (!PE_nt_headers->FileHeader.PointerToSymbolTable || !numsym)
         return;
-    sym = (const IMAGE_SYMBOL*)PRD(PE_nt_headers->FileHeader.PointerToSymbolTable,
+    sym = PRD(PE_nt_headers->FileHeader.PointerToSymbolTable,
                                    sizeof(*sym) * numsym);
     if (!sym) return;
     /* FIXME: no way to get strtable size */




More information about the wine-cvs mailing list