callback uses size_t not double

- Not sure why the curl internal double arguments
  are converted to size_t in the first place though.