Skip to content

Commit 33d6c7e

Browse files
committed
Fix compilation issues
1 parent ae3a6ec commit 33d6c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xml2_doc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ cpp11::strings doc_url(cpp11::sexp doc_sxp) {
262262
return Rf_ScalarString(NA_STRING);
263263
}
264264

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

268268
[[cpp11::register]]

0 commit comments

Comments
 (0)