소스 검색

Changed FileTime to Long instead of Int

The documentation and tests indicate that long should be used.
thareh 2 년 전
부모
커밋
0ed866210b
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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
 	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.
 	to #setOptInt or you will unconditionally get a -1 back.
 	End Rem
 	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
 		Return value
 	End Method
 	End Method