tinyxml2 icon indicating copy to clipboard operation
tinyxml2 copied to clipboard

Troubling ASSERT for file size

Open leethomason opened this issue 8 years ago • 1 comments

''''XMLTest("Read dream.xml", true, uint32_t(size) >= uint32_t(bytesRead));''''

Why the >=? May be a line conversion issue; need to make sure it works or nothing more sinister.

leethomason avatar Jul 16 '17 01:07 leethomason

Here's a comment https://github.com/leethomason/tinyxml2/commit/e4dc7218a5d0a34e2347269ab4426e4be30f561a#commitcomment-23118510 which contains extra details for this issue.

Dmitry-Me avatar Jul 16 '17 21:07 Dmitry-Me