1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-09-01 18:38:00 +00:00

Fix weird error in OpenSUSE

This commit is contained in:
Carles Fernandez
2025-08-08 12:51:11 +02:00
parent 53e5a9b3b7
commit dbb350db33

View File

@@ -2264,7 +2264,7 @@ int stropen(stream_t *stream, int type, int mode, const char *path)
stream->port = openserial(path, mode, stream->msg);
break;
case STR_FILE:
stream->port = openfile(path, mode, stream->msg);
stream->port = openfile(std::string(path), mode, stream->msg);
break;
case STR_TCPSVR:
stream->port = opentcpsvr(path, stream->msg);