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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user