summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/curl/lib/security.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FTPFileYM/curl/lib/security.c')
-rw-r--r--plugins/FTPFileYM/curl/lib/security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FTPFileYM/curl/lib/security.c b/plugins/FTPFileYM/curl/lib/security.c
index 508c7b41ec..fa05207617 100644
--- a/plugins/FTPFileYM/curl/lib/security.c
+++ b/plugins/FTPFileYM/curl/lib/security.c
@@ -80,7 +80,7 @@ static enum protection_level
name_to_level(const char *name)
{
int i;
- for(i = 0; i < (int)sizeof(level_names)/(int)sizeof(level_names[0]); i++)
+ for(i = 0; i < sizeof(level_names)/sizeof(level_names[0]); i++)
if(checkprefix(name, level_names[i].name))
return level_names[i].level;
return PROT_NONE;