Skip to content

Commit

Permalink
Fix compilation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mgirlich committed Sep 4, 2023
1 parent ae3a6ec commit 33d6c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xml2_doc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ cpp11::strings doc_url(cpp11::sexp doc_sxp) {
return Rf_ScalarString(NA_STRING);
}

return cpp11::strings({(const char*) doc->URL});
return cpp11::as_sexp((const char*) doc->URL);
}

[[cpp11::register]]
Expand Down

0 comments on commit 33d6c7e

Please sign in to comment.