Fix windows compile warnings.

This commit is contained in:
Aleric Inglewood
2013-03-19 23:59:15 +01:00
parent 06730d1a7e
commit 4be1d057bc
2 changed files with 6 additions and 3 deletions

View File

@@ -40,7 +40,7 @@
class AIHTTPHeaders;
class AICurlEasyRequestStateMachine;
class AITransferInfo;
struct AITransferInfo;
namespace AICurlPrivate {
@@ -406,8 +406,8 @@ class BufferedCurlEasyRequest : public CurlEasyRequest {
//U32 mBodyLimit; // From the old LLURLRequestDetail::mBodyLimit, but never used.
U32 mStatus; // HTTP status, decoded from the first header line.
std::string mReason; // The "reason" from the same header line.
S32 mRequestTransferedBytes;
S32 mResponseTransferedBytes;
U32 mRequestTransferedBytes;
U32 mResponseTransferedBytes;
AIBufferedCurlEasyRequestEvents* mBufferEventsTarget;
public:

View File

@@ -89,6 +89,9 @@ class AIHTTPTimeoutPolicy {
U16 curl_transaction,
U16 total_delay);
// Destructor.
virtual ~AIHTTPTimeoutPolicy() { }
void sanity_checks(void) const;
// Accessors.