From e422079fcced744e3a6247aeb12a09a658989072 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 15 Sep 2024 15:33:47 -0400 Subject: Add a Byte datatype --- examples/http.tm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/http.tm') 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) -- cgit v1.2.3