[PATCH] fix compiler warnings (warn_unused_result and format stuff)

Danny Kukawka danny.kukawka at web.de
Fri Aug 4 09:18:18 PDT 2006


Hi,

this patch fixes several compiler warnings from warn_unused_result compiler 
flag and some "format '%*' expects type 'x', but argument z has type 'xy'" 
warnings on 64bit systems.

Danny

 hald-runner/runner.c                            |    3 ++-
 hald/device.c                                   |    8 ++++----
 hald/hald_dbus.c                                |    4 ++--
 hald/linux2/addons/addon-acpi-buttons-toshiba.c |    8 ++++----
 hald/property.c                                 |    2 +-
 libhal-storage/libhal-storage.c                 |    2 +-
 libhal/libhal.c                                 |    6 +++---
 tools/hal-storage-eject.c                       |    3 +--
 tools/hal-storage-mount.c                       |    9 +++------
 tools/hal-storage-unmount.c                     |    3 +--
 tools/hal_get_property.c                        |    4 ++--
 tools/lshal.c                                   |   10 +++++-----
 12 files changed, 29 insertions(+), 33 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-compiler-warnings_unused_result_-_format.diff
Type: text/x-diff
Size: 9089 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060804/886b2c33/hal-fix-compiler-warnings_unused_result_-_format.bin


More information about the hal mailing list