Well, actually, it's libcurl's return function. It requires doubles for dlnow and dltotal. I rarely use doubles myself, and prefer ints over anything.

And the files in size are ranging from 20 KB to 1.5 MB