<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -66,7 +66,7 @@ main(int argc, char* argv[]) {
     CURL* curl = NULL;
     CURLcode res;
     int status = 0;
-    char error[256];
+    char error[CURL_ERROR_SIZE];
     char fname[256];
     char cookie[256];
     char query[2048];
@@ -88,7 +88,7 @@ main(int argc, char* argv[]) {
 
     curl = curl_easy_init();
     curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0);
-    curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, &amp;error);
+    curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, error);
     curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, memfwrite);
     //curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
 
@@ -313,7 +313,7 @@ main(int argc, char* argv[]) {
     curl_easy_setopt(curl, CURLOPT_WRITEDATA, fp);
     curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0);
     curl_easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, progress);
-    curl_easy_setopt(curl, CURLOPT_PROGRESSDATA, fname);
+    curl_easy_setopt(curl, CURLOPT_PROGRESSDATA, (void*)fname);
     res = curl_easy_perform(curl);
     fclose(fp);
     if (res != CURLE_OK) {
@@ -323,6 +323,7 @@ main(int argc, char* argv[]) {
 
 leave:
     if (curl) curl_easy_cleanup(curl);
+    printf(&quot;\n&quot;);
 
     return 0;
 }</diff>
      <filename>nicodown.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>12b51287cfab15571559ce69fc4197612d29bd0d</id>
    </parent>
  </parents>
  <author>
    <name>mattn</name>
    <email>mattn.jp@gmail.com</email>
  </author>
  <url>http://github.com/mattn/nicodown/commit/4daeed6969cfb013e8e71816a6b89e304a4e8267</url>
  <id>4daeed6969cfb013e8e71816a6b89e304a4e8267</id>
  <committed-date>2009-02-14T05:11:33-08:00</committed-date>
  <authored-date>2009-02-14T05:11:33-08:00</authored-date>
  <message>remove warnings.</message>
  <tree>03053948fae94215f233d9e4930a25595089729b</tree>
  <committer>
    <name>mattn</name>
    <email>mattn.jp@gmail.com</email>
  </committer>
</commit>
