aboutsummaryrefslogtreecommitdiff
path: root/examples/http.tm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/http.tm')
-rw-r--r--examples/http.tm2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/http.tm b/examples/http.tm
index 9590215e..0a27ece2 100644
--- a/examples/http.tm
+++ b/examples/http.tm
@@ -58,7 +58,7 @@ func _send(method:_Method, url:Text, data:Text?, headers=[:Text])->HTTPResponse:
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk);
}
- code := 0_i64
+ code := 0[64]
inline C {
CURLcode res = curl_easy_perform(curl);
if (res != CURLE_OK)