aboutsummaryrefslogtreecommitdiff
path: root/examples/http.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-15 15:33:47 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-15 15:33:47 -0400
commite422079fcced744e3a6247aeb12a09a658989072 (patch)
tree393d5e52ba67dcc822ccfa9a812198edda5e735d /examples/http.tm
parent259c7efcf8c3808d8151d8e15f1167ad2b6f2ca7 (diff)
Add a Byte datatype
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)