From add07a80dcfbcb4cdaf709cae6aee1fb563db16b Mon Sep 17 00:00:00 2001 From: Steven Janzou Date: Tue, 23 Jul 2024 21:57:50 -0600 Subject: [PATCH] Fix failing GitHub Actions for MacOS --- src/registration.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/registration.cpp b/src/registration.cpp index 71c694f9..bbba83f4 100644 --- a/src/registration.cpp +++ b/src/registration.cpp @@ -432,7 +432,7 @@ void wxOnlineRegistration::OnRegister(wxCommandEvent &) { wxString raw(curl.GetDataAsString()); - reader.Parse(raw); + reader.Parse(raw.c_str()); if (reader.HasParseError()) code = reader["status"].GetInt(); @@ -460,7 +460,7 @@ void wxOnlineRegistration::OnRegister(wxCommandEvent &) { curl.Get(url); wxString raw(curl.GetDataAsString()); - reader.Parse(raw); + reader.Parse(raw.c_str()); if (reader.HasParseError()) code = reader["status"].GetInt();