fixed a compiler error for ibm compiler.
authorGengbin Zheng <gzheng@illinois.edu>
Sat, 19 Mar 2005 08:39:40 +0000 (08:39 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Sat, 19 Mar 2005 08:39:40 +0000 (08:39 +0000)
src/conv-core/cmipool.c

index 29dd076bca9e5e1ac6ad478d0bbeede49e71b021..2324ac71b56670253137b48cf2afbe9c525e3363 100644 (file)
@@ -139,7 +139,7 @@ inline
 #endif
 void CmiPoolFree(void * p) 
 {
-  char **header = (char **)( p - (void *) CMI_POOL_HEADER_SIZE);
+  char **header = (char **)( (char*)p - CMI_POOL_HEADER_SIZE);
   int bin = (int) *header;
   /*  CmiPrintf("f%d\n",bin,CpvAccess(maxBin));  */
   if(bin==0)