From 87448510a2a920e9fda8b42bb192ccdb409ed2c1 Mon Sep 17 00:00:00 2001 From: kotofyt Date: Fri, 9 Jan 2026 19:55:37 +0200 Subject: [PATCH] fixed some stuff --- fpc/library/target.cpp | 8 ++++++++ http/client.cpp | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/fpc/library/target.cpp b/fpc/library/target.cpp index 3e9b13e..c82defc 100644 --- a/fpc/library/target.cpp +++ b/fpc/library/target.cpp @@ -170,6 +170,14 @@ Target_t Target_t::DefaultTarget() if ( szArch == "x86_64" ) cpu = TARGET_CPU_AMD64; + else if ( szArch == "i386" ) + cpu = TARGET_CPU_80386; + else if ( szArch == "i486" ) + cpu = TARGET_CPU_80486; + else if ( szArch == "i586" ) + cpu = TARGET_CPU_80586; + else if ( szArch == "i686" ) + cpu = TARGET_CPU_80686; else if ( szArch == "aarch64" ) cpu = TARGET_CPU_AARCH64; else if ( szArch == "wasm32" ) diff --git a/http/client.cpp b/http/client.cpp index ac6cbac..eaf286a 100644 --- a/http/client.cpp +++ b/http/client.cpp @@ -239,7 +239,7 @@ HTTPResponse_t CHTTPClient::ParseResponse( const char *szMessage, uint32_t uData response.m_params = CUtlBuffer(headers.GetSize()); for (int i = 0; i < headers.GetSize(); i++ ) { - response.m_params[i] = headers[i]; + response.m_params.operator[](i) = headers.operator[](i); } response.m_message = data; response.m_bIsComplete = true;