summaryrefslogtreecommitdiff
path: root/src/tool_getparam.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-11-26 16:23:02 +0100
committerYang Tse <yangsita@gmail.com>2012-11-26 16:23:48 +0100
commit79954a1b07c6fc8ed4cf9d48c6383521b184c818 (patch)
tree3b910417595148ddb7174e7f30f734666af93c88 /src/tool_getparam.h
parentb33074d8931f2fd19f07ede99228abba393e2a4e (diff)
downloadcurl-79954a1b07c6fc8ed4cf9d48c6383521b184c818.tar.gz
avoid mixing of enumerated type with another type
Diffstat (limited to 'src/tool_getparam.h')
-rw-r--r--src/tool_getparam.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_getparam.h b/src/tool_getparam.h
index 49cc684c9..38f0674f4 100644
--- a/src/tool_getparam.h
+++ b/src/tool_getparam.h
@@ -24,7 +24,7 @@
#include "tool_setup.h"
typedef enum {
- PARAM_OK,
+ PARAM_OK = 0,
PARAM_OPTION_AMBIGUOUS,
PARAM_OPTION_UNKNOWN,
PARAM_REQUIRES_PARAMETER,