mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-26 18:13:47 +00:00
Fixed V547: Expression is always false
'ov_read' function returns a signed long, that is stored in an unsigned integer 'bytesRead'. Comparsion 'bytesRead < 0' doesn't make sense, since an unsigned number >= 0.
This commit is contained in:
parent
cf776cf8b0
commit
20e63ad763
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ S32 SFXVorbisStream::read( U8 *buffer,
|
|||
// requests longer than this.
|
||||
const U32 MAXREAD = 4096;
|
||||
|
||||
U32 bytesRead = 0;
|
||||
S64 bytesRead = 0;
|
||||
U32 offset = 0;
|
||||
U32 bytesToRead = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue