Remove warnings due to missing return checks on RHEL-6.
Handle endianess for fields.

Changes from v1:
- add suggested assert;
- remove unneeded change from first patch;
- do not hide write function with a macro;
- do not assume file is always "f".

Frediano Ziglio (2):
  utils: use always fwrite to write bitmap
  utils: fix endianess issues writing bitmap file and handle errors

 server/spice-bitmap-utils.c | 116 ++++++++++++++++++++++++++------------------
 1 file changed, 70 insertions(+), 46 deletions(-)

-- 
2.4.3

_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to