You have to pass long pointer for CURLINFO_RESPONSE_CODE.

You should pass long pointer for CURLINFO_RESPONSE_CODE.

````C+++
  CURLINFO_RESPONSE_CODE    = CURLINFO_LONG   + 2,
````
In 64bit gcc, sizeof(int) == 4 and sizeof(long) == 8, so memory area will be broken when compiling on 64bit.