Skip to content
Snippets Groups Projects
Verified Commit f7e67d42 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan Committed by Mark Harris
Browse files

repacketizer_demo: check for read errors to fix compiler warnings


Actually check for read errors instead of just storing the
return value in a variable that then never gets checked.

Also fixes "conversion from 'size_t' to 'int', possible loss
of data" compiler warnings on Windows with MSVC caused by
storing the size_t returned by fread() into an int variable.

Signed-off-by: default avatarMark Harris <mark.hsj@gmail.com>
parent 907a5231
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment