Fix build: convert packet.count to UInt for debug_proxy_send_raw

debug_proxy_send_raw expects a UInt (uintptr_t) length; packet.count is Int,
which does not auto-convert. Archive failed with "cannot convert value of type
'Int' to expected argument type 'UInt'".

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qznh32XffG6vwFLMcwm1Mq
This commit is contained in:
Claude 2026-07-14 13:03:23 +00:00
parent 84a5a5eff6
commit abcc0cfc78
No known key found for this signature in database

View file

@ -738,7 +738,7 @@ final class JITEnableContext {
private func sendContinue(_ debugProxy: OpaquePointer) {
// "$c#63" — RSP continue-all-threads packet (valid in no-ack mode).
var packet: [UInt8] = [0x24, 0x63, 0x23, 0x36, 0x33]
_ = debug_proxy_send_raw(debugProxy, &packet, packet.count)
_ = debug_proxy_send_raw(debugProxy, &packet, UInt(packet.count))
}
func startSyslogRelay(handler: @escaping SyslogLineHandler, onError: @escaping SyslogErrorHandler) {