summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Ischo <bji@lolita.(none)>2009-01-21 16:11:42 +1300
committerBryan Ischo <bji@lolita.(none)>2009-01-21 16:11:42 +1300
commit4bdf722f2293b0f65b759d6124a55f356eb54570 (patch)
tree099a5fb590cf520401439deec8ad73565f708bf7
parent50d586a76354f04614bf32786ff95e3272887624 (diff)
downloadceph-libs3-4bdf722f2293b0f65b759d6124a55f356eb54570.tar.gz
Fixed an egregious gcc warning with some fairly ridiculous casting.
-rw-r--r--src/request_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/request_context.c b/src/request_context.c
index bccaee8..ae48e55 100644
--- a/src/request_context.c
+++ b/src/request_context.c
@@ -132,7 +132,7 @@ S3Status S3_runonce_request_context(S3RequestContext *requestContext,
}
Request *request;
if (curl_easy_getinfo(msg->easy_handle, CURLINFO_PRIVATE,
- (char **) &request) != CURLE_OK) {
+ (char **) (char *) &request) != CURLE_OK) {
return S3StatusInternalError;
}
// Remove the request from the list of requests