Support 32bit

Co-authored-by: hai22yu23 <hai22yu23@163.com>
This commit is contained in:
Hui Yu
2023-08-04 09:55:43 +08:00
parent 4aa8bb70ec
commit 8ed333e1bf

View File

@@ -185,7 +185,7 @@ char *assembleHeaderField(char *key, char *value) {
void postData(CURL *handle, const char *bodyParameters) {
curl_easy_setopt(handle, CURLOPT_POSTFIELDS, bodyParameters);
curl_easy_setopt(handle, CURLOPT_POSTFIELDSIZE_LARGE,
strlen(bodyParameters));
(curl_off_t)strlen(bodyParameters));
}
int lengthOfKeyPair(keyValuePair_t *keyPair) {