fix signed mismatch compiler diagnostic
r2427 | dcl | 2008-04-14 09:46:32 +1000 (Mon, 14 Apr 2008) | 2 lines
This commit is contained in:
4
conman.c
4
conman.c
@@ -578,7 +578,7 @@ int SCWriteInContext(SConnection *pCon, char *pBuffer, int out, commandContext c
|
||||
va_list ap;
|
||||
char buf[256];
|
||||
char *dyn;
|
||||
int l;
|
||||
unsigned int l;
|
||||
int res;
|
||||
|
||||
va_start(ap, fmt);
|
||||
@@ -1093,7 +1093,7 @@ pDynString SCEndBuffering(SConnection *pCon)
|
||||
compStream.next_out = (Bytef *)outBuf;
|
||||
compStream.avail_in = iDataLen;
|
||||
compStream.avail_out = 65536;
|
||||
while(compStream.total_in < iDataLen)
|
||||
while(compStream.total_in < (unsigned) iDataLen)
|
||||
{
|
||||
iRet = deflate(&compStream,Z_NO_FLUSH);
|
||||
if(iRet != Z_OK)
|
||||
|
||||
Reference in New Issue
Block a user