Commits

Anonymous committed 78a573b

src/page_access.cxx
Use size_t instead of unsigned int for 64-bit compatibility

David Quarrie

Comments (0)

Files changed (2)

+2009-04-15  David Quarrie <David.Quarrie@cern.ch>
+
+	* Tagging CxxUtils-00-00-30
+	* src/page_access.cxx: Use size_t instead of unsigned int for 64-bit compatibility
+	
 2009-04-08  scott snyder  <snyder@bnl.gov>
 
 	* Tagging CxxUtils-00-00-29.

src/page_access.cxx

     if (rc) printf("page_protect WARNING: mprotect heap failed for void *address %p\n", addr);
 #ifdef DEBUG
     else printf("page_protect DEBUG: set protection @%i for range @%x - @%x containing void* addr=%p\n",
-		prot,(unsigned int)page_address(addr), 
-		(unsigned int)page_address(addr) + PAGESIZE, addr);
+		prot,(size_t)page_address(addr), 
+		(size_t)page_address(addr) + PAGESIZE, addr);
 #endif
     return rc;
   }