mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-09-10 14:56:03 +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);
|
stream->port = openserial(path, mode, stream->msg);
|
||||||
break;
|
break;
|
||||||
case STR_FILE:
|
case STR_FILE:
|
||||||
stream->port = openfile(path, mode, stream->msg);
|
stream->port = openfile(std::string(path), mode, stream->msg);
|
||||||
break;
|
break;
|
||||||
case STR_TCPSVR:
|
case STR_TCPSVR:
|
||||||
stream->port = opentcpsvr(path, stream->msg);
|
stream->port = opentcpsvr(path, stream->msg);
|
||||||
|
Reference in New Issue
Block a user