mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-16 04:20:30 +00:00
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:
parent
84a5a5eff6
commit
abcc0cfc78
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue