Remove warnings due to missing return checks on RHEL-6. Handle endianess for fields. Changes from v2: - use g_return_val_if_fail instead of spice_assert; - split second patch. 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 (3): utils: use always fwrite to write bitmap utils: fix endianess issues writing bitmap file utils: handle errors writing to bitmap file server/spice-bitmap-utils.c | 116 ++++++++++++++++++++++++++------------------ 1 file changed, 70 insertions(+), 46 deletions(-) -- 2.4.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel