about summary refs log tree commit diff stats
path: root/src/bindings/curl.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/curl.nim')
-rw-r--r--src/bindings/curl.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings/curl.nim b/src/bindings/curl.nim
index 825ab656..720b7126 100644
--- a/src/bindings/curl.nim
+++ b/src/bindings/curl.nim
@@ -267,7 +267,7 @@ type
     CURLE_UNRECOVERABLE_POLL,      # 99 - poll/select returned fatal error 
     CURL_LAST # never use! 
 
-  curl_ftpmethod* {.size: sizeof(cint).} = enum
+  curl_ftpmethod* {.size: sizeof(clong).} = enum
     CURLFTPMETHOD_DEFAULT, # let libcurl pick
     CURLFTPMETHOD_MULTICWD, # single CWD operation for each path part
     CURLFTPMETHOD_NOCWD, # no CWD at all