[PATCH spice-server 00/10] Minor Clang fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mainly removing warnings, some minor style and minor endian
issues (catched by the warnings).

Frediano Ziglio (10):
  utils: Use const for rgb32_data_has_alpha data argument
  lz4-encoder: Use GUINT32_TO_BE instead of htonl
  char-device: Avoid to use unaligned memory
  dcc-send: Avoid to use unaligned memory
  replay: Do not use obsolete set_mm_time callback
  tests: Avoid some possible not initialized warning from Clang
  red-common: Avoid some not used warning using clang
  sound: Avoid cast that could cause alignment problems
  Avoid some alignment warnings using clang
  utils: Avoid possible unaligned access

 server/char-device.c                  | 24 +++++++++++++-----------
 server/dcc-send.c                     | 10 ++++++----
 server/lz4-encoder.c                  |  3 ++-
 server/red-common.h                   | 13 ++++++++-----
 server/sound.c                        |  6 +++---
 server/tests/replay.c                 |  5 -----
 server/tests/test-display-base.c      |  2 +-
 server/tests/test-display-streaming.c | 10 ++++++----
 server/tests/test-gst.c               |  6 +++---
 server/tests/test-sasl.c              |  2 +-
 server/utils.c                        | 15 ++++++++-------
 server/utils.h                        |  2 +-
 12 files changed, 52 insertions(+), 46 deletions(-)

-- 
2.14.3

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]