commit e82c8ef6e50ef04e885e560ba0109454878a8660
parent f116d8a368967aaa5cafb9bd6c04181610d595d6
Author: Marc Stibane <marc@taler.net>
Date: Thu, 13 Mar 2025 15:49:54 +0100
fix QuickJS
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/TalerWallet1/Quickjs/QuickDataTask.swift b/TalerWallet1/Quickjs/QuickDataTask.swift
@@ -116,7 +116,7 @@ class QuickDataTask: NSObject {
response_headers: cHeaders.pointer,
num_response_headers: numHeaders,
body: bodyPtr,
- body_len: data.count)
+ body_len: UInt32(data.count))
let responseInfoPtr = UnsafeMutablePointer<JSHttpResponseInfo>(&responseInfo)
// Initialization of 'UnsafeMutablePointer<JSHttpResponseInfo>' results in a dangling pointer
logger.trace("❗️ \(self.requestID, privacy: .public) \(url, privacy: .public)")