Unsafe conversion of expression with type 'unsigned int' to implementation defined type 'std::streamsize'
may or may not override sign-bit depending on size of implementation defined type,
which may cause unexpected results on porting to different platforms
[Version] 0.0.17
[Issue Type] SVACE
Change-Id: Ie537de2c380418c2713983837f749b4540bd6384
Name: hal-api-audio
Summary: TIZEN Audio HAL
-Version: 0.0.16
+Version: 0.0.17
Release: 0
Group: System/Libraries
License: Apache-2.0
}
#ifdef USE_IFSTREAM
- fs.read(buffer.data(), min(FramesToBytes(avail_frames), static_cast<uint32_t>(buffer.size())));
+ fs.read(buffer.data(), static_cast<std::streamsize>(min(FramesToBytes(avail_frames), static_cast<uint32_t>(buffer.size()))));
bytes_read = fs.gcount();
#else
bytes_read = read(fd, buffer.data(), min(FramesToBytes(avail_frames), static_cast<uint32_t>(buffer.size())));