dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/engine method_cache.c,1.10,1.11


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/engine method_cache.c,1.10,1.11
Date: Sun, 29 Jun 2003 17:28:19 -0400

Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv11256/engine

Modified Files:
        method_cache.c 
Log Message:


Work around compilers that don't allow arithmetic on void * pointers.


Index: method_cache.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/method_cache.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** method_cache.c      22 Jun 2003 17:16:44 -0000      1.10
--- method_cache.c      29 Jun 2003 21:28:17 -0000      1.11
***************
*** 144,148 ****
        /* Set up the working region within the new page */
        cache->freeStart = ptr;
!       cache->freeEnd = ptr + (int)(cache->pageSize);
  }
  
--- 144,148 ----
        /* Set up the working region within the new page */
        cache->freeStart = ptr;
!       cache->freeEnd = (void *)(((char *)ptr) + (int)(cache->pageSize));
  }
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]