You have to pass long pointer for CURLINFO_RESPONSE_CODE.

You should pass long pointer to curl_easy_getinfo when you want to get CURLINFO_RESPONSE_CODE.

````C+++
  CURLINFO_RESPONSE_CODE    = CURLINFO_LONG   + 2,
````
In 64bit gcc, sizeof(int) == 4 and sizeof(long) == 8, so irrelevant memory area will be overwritten when compiling on 64bit.