]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
new(unsigned int) -> new(size_t)
authoradrian <>
Mon, 14 Oct 2002 17:51:07 +0000 (17:51 +0000)
committeradrian <>
Mon, 14 Oct 2002 17:51:07 +0000 (17:51 +0000)
src/mime.cc
src/store.cc

index e7c04cdd1f3ec1adad0a75839b8fe2f9c763bc40..f4d11fa8aaddbfa805a463a106bbc5a1d1042b57 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: mime.cc,v 1.105 2002/10/13 20:35:02 robertc Exp $
+ * $Id: mime.cc,v 1.106 2002/10/14 11:51:07 adrian Exp $
  *
  * DEBUG: section 25    MIME Parsing
  * AUTHOR: Harvest Derived
@@ -54,7 +54,7 @@ private:
 
 class mimeEntry {
 public:
-    void *operator new (unsigned int byteCount);
+    void *operator new (size_t byteCount);
     void operator delete (void *address);
   
     char *pattern;
@@ -72,7 +72,7 @@ static mimeEntry *MimeTable = NULL;
 static mimeEntry **MimeTableTail = &MimeTable;
 
 void *
-mimeEntry::operator new (unsigned int byteCount)
+mimeEntry::operator new (size_t byteCount)
 {
     return xcalloc(1, byteCount);
 }
index 89d26a4969d270c0689b6a8ec908fe3eac29809a..a81103d650e33f60c6c45b6ae70de86fc9ee0be7 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store.cc,v 1.548 2002/10/13 20:35:04 robertc Exp $
+ * $Id: store.cc,v 1.549 2002/10/14 11:55:17 adrian Exp $
  *
  * DEBUG: section 20    Storage Manager
  * AUTHOR: Harvest Derived
@@ -99,7 +99,7 @@ static Stack LateReleaseStack;
 MemPool *_StoreEntry::pool = NULL;
 
 void *
-_StoreEntry::operator new (unsigned int bytecount)
+_StoreEntry::operator new (size_t bytecount)
 {
     assert (bytecount == sizeof (_StoreEntry));
     if (!pool) {