Skip to content

Commit

Permalink
Fix failing GitHub Actions for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanzou committed Jul 24, 2024
1 parent 635fe0c commit add07a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/registration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit add07a8

Please sign in to comment.