Revision: 32446
http://sourceforge.net/p/opalvoip/code/32446
Author: rjongbloed
Date: 2014-08-07 08:05:44 +0000 (Thu, 07 Aug 2014)
Log Message:
-----------
Fix compiler compatibility.
Modified Paths:
--------------
ptlib/trunk/src/ptclib/shttpsvc.cxx
Modified: ptlib/trunk/src/ptclib/shttpsvc.cxx
===================================================================
--- ptlib/trunk/src/ptclib/shttpsvc.cxx 2014-08-07 07:11:23 UTC (rev 32445)
+++ ptlib/trunk/src/ptclib/shttpsvc.cxx 2014-08-07 08:05:44 UTC (rev 32446)
@@ -238,7 +238,7 @@
}
// copy some bytes to the returned buffer, but no more than the buffer will allow
- len = PMIN(len, preReadLen);
+ len = std::min(len, (int)preReadLen);
memcpy(buf, preRead, len);
preReadLen -= len;
return len;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|