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

index e33d4fb0e30945895f576eca9a5acd61422971df..75b617416685ab5d7d209e6636d8d33277a9aed5 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: urn.cc,v 1.77 2002/10/14 08:16:59 robertc Exp $
+ * $Id: urn.cc,v 1.78 2002/10/14 11:59:33 adrian Exp $
  *
  * DEBUG: section 52    URN Parsing
  * AUTHOR: Kostas Anagnostakis
@@ -42,7 +42,7 @@
 class UrnState : public StoreClient {
 public:
     void created (_StoreEntry *newEntry);
-    void *operator new (unsigned int byteCount);
+    void *operator new (size_t byteCount);
     void operator delete (void *address);
     void start (request_t *, StoreEntry *);
     char *getHost (String &urlpath);
@@ -84,7 +84,7 @@ static QS url_entry_sort;
 
 CBDATA_TYPE(UrnState);
 void *
-UrnState::operator new (unsigned int byteCount)
+UrnState::operator new (size_t byteCount)
 {
      /* derived classes with different sizes must implement their own new */
     assert (byteCount == sizeof (UrnState));