callback uses size_t not double

- Not sure why the curl internal double arguments
  are converted to size_t in the first place though.
Merge pull request #2035 from MartinNowak/fixCurlDocs

callback uses size_t not double