tool_operate.c: Fixed compilation warning
authorSteve Holme <steve_holme@hotmail.com>
Sat, 10 May 2014 08:20:49 +0000 (09:20 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 10 May 2014 08:20:49 +0000 (09:20 +0100)
An enumerated type is mixed with another type.

src/tool_operate.c

index 7792bf3..fd2fd6d 100644 (file)
@@ -202,7 +202,7 @@ static CURLcode operate_do(struct GlobalConfig *global,
   CURL *curl = config->easy;
   char *httpgetfields = NULL;
 
-  CURLcode res = 0;
+  CURLcode res = CURLE_OK;
   unsigned long li;
 
   /* Save the values of noprogress and isatty to restore them later on */