Skip to content

issue in postData to support 32bit #199

@hai22yu23

Description

@hai22yu23

postData in apiClient.c has issues for supporting 32bit:

/* it should add type cast (curl_off_t)

curl_easy_setopt(handle, CURLOPT_POSTFIELDSIZE_LARGE,
(curl_off_t) strlen (bodyParameters));

  • * libcurl API curl_easy_setopt requires the third parameter
    
  • * has to be passed with correct type depending on specific option.
    
  • * For CURLOPT_POSTFIELDSIZE_LARGE option,
    
  • * it has to be type curl_off_t which is expected to be
    
  • * 64bit whether on 32bit or 64bit platform.
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions