mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-06 03:00:43 +00:00
VC2013 build fix in resmed_loader
This commit is contained in:
parent
ffbeb5795c
commit
04dff07933
@ -349,15 +349,10 @@ QString EDFParser::Read(unsigned n)
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned char buf[n+1];
|
QByteArray buf(&buffer[pos], n);
|
||||||
memset(buf, 0, n+1);
|
pos+=n;
|
||||||
|
|
||||||
for (unsigned i = 0; i < n; i++) {
|
return buf.trimmed();
|
||||||
buf[i] = buffer[pos++];
|
|
||||||
}
|
|
||||||
QString str = (char *)buf;
|
|
||||||
|
|
||||||
return str.trimmed();
|
|
||||||
}
|
}
|
||||||
bool EDFParser::Parse()
|
bool EDFParser::Parse()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user