]> granicus.if.org Git - curl/commitdiff
fix compiler warning: enumerated type mixed with another type
authorYang Tse <yangsita@gmail.com>
Tue, 6 May 2008 04:37:06 +0000 (04:37 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 6 May 2008 04:37:06 +0000 (04:37 +0000)
lib/transfer.c

index b17929c0a807fe710a9c29abc352321450f73056..4ad56322a11fab82184d8f9b885aa612e44a7215 100644 (file)
@@ -2356,7 +2356,7 @@ CURLcode Curl_perform(struct SessionHandle *data)
   CURLcode res2;
   struct connectdata *conn=NULL;
   char *newurl = NULL; /* possibly a new URL to follow to! */
-  int follow = FOLLOW_NONE;
+  followtype follow = FOLLOW_NONE;
 
   data->state.used_interface = Curl_if_easy;