]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Missed a casting
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 29 Jun 2008 11:53:06 +0000 (23:53 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 29 Jun 2008 11:53:06 +0000 (23:53 +1200)
src/MemBuf.cc

index 2c168e61d8a5bc2b857502b81b4492c9e3af330f..3e073b6dd19c48142795bf8dfaab1810232a6a71 100644 (file)
@@ -236,7 +236,7 @@ void MemBuf::append(const char *newContent, mb_size_t sz)
     assert(!stolen); /* not frozen */
 
     if(!buf) {
-        grow(sz+1, MEM_BUF_MAX_SIZE);
+        grow((int)sz+1, MEM_BUF_MAX_SIZE);
     }
 
     PROF_start(MemBuf_append);