[git] Wincetools - branch, master, updated. 528dacbcc3f3faa326507ecdd5d2a9b39125fd6f

by Marcus Brinkmann cvs at cvs.gnupg.org
Mon Jan 31 14:33:48 CET 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".

The branch, master has been updated
       via  528dacbcc3f3faa326507ecdd5d2a9b39125fd6f (commit)
      from  dc902c726e960e8c3699228832c774811a8841b6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 528dacbcc3f3faa326507ecdd5d2a9b39125fd6f
Author: Marcus Brinkmann <marcus.brinkmann at ruhr-uni-bochum.de>
Date:   Mon Jan 31 14:13:03 2011 +0100

    Remove void pointer arithmetic.

diff --git a/inspection/virtual-query.c b/inspection/virtual-query.c
index d97075c..6db3795 100644
--- a/inspection/virtual-query.c
+++ b/inspection/virtual-query.c
@@ -203,7 +203,7 @@ main (int argc, char* argv[])
 	  if (!skipping)
 	    fprintf (fp, "Skipping over %p...\n", addr);
 	  skipping = 1;
-	  new_addr = addr + si.dwPageSize;
+	  new_addr = (void*)(((unsigned int)addr) + si.dwPageSize);
  	  if (new_addr < addr)
 	    break;
           addr = new_addr; 
@@ -217,7 +217,7 @@ main (int argc, char* argv[])
       skipping = 0;
       dump_mbi (&mbi);
       /* Check for overflow.  */
-      new_addr = addr + mbi.RegionSize;
+      new_addr = (void*)(((unsigned int)addr) + mbi.RegionSize);
       if (new_addr < addr)
 	break;
       addr = new_addr;

-----------------------------------------------------------------------

Summary of changes:
 inspection/virtual-query.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
UNNAMED PROJECT
http://git.gnupg.org




More information about the Gnupg-commits mailing list