Explorar o código

Changed FileTime to Long instead of Int

The documentation and tests indicate that long should be used.
thareh %!s(int64=2) %!d(string=hai) anos
pai
achega
0ed866210b
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      libcurl.mod/curlmain.bmx

+ 3 - 3
libcurl.mod/curlmain.bmx

@@ -1011,10 +1011,10 @@ Type TCurlInfo
 	tell the server to collect this information before the transfer is made, by using the #CURLOPT_FILETIME option
 	to #setOptInt or you will unconditionally get a -1 back.
 	End Rem
-	Method FileTime:Int()
-		Local value:Int
+	Method FileTime:Long()
+		Local value:Long
 		
-		error = bmx_curl_easy_getinfo_int(easyHandlePtr, CURLINFO_FILETIME, Varptr value)
+		error = bmx_curl_easy_getinfo_long(easyHandlePtr, CURLINFO_FILETIME, Varptr value)
 		
 		Return value
 	End Method