diff options
author | Danny Kukawka <danny.kukawka@web.de> | 2006-08-06 18:26:29 +0200 |
---|---|---|
committer | Danny Kukawka <danny.kukawka@web.de> | 2006-08-06 18:26:29 +0200 |
commit | 732e625134171daf032c9dc39067efe68d6b41b8 (patch) | |
tree | c0b7e5287995756175893ff88848263fa4f08bd0 /libhal | |
parent | 5248f077b0ff0087c0d37464713ee36febeee189 (diff) |
fixed several compiler warnings (warn_unused_result and format stuff)
This 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.
Diffstat (limited to 'libhal')
-rw-r--r-- | libhal/libhal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libhal/libhal.c b/libhal/libhal.c index 4df2568b..c4c8034a 100644 --- a/libhal/libhal.c +++ b/libhal/libhal.c @@ -2452,9 +2452,9 @@ libhal_device_print (LibHalContext *ctx, const char *udi, DBusError *error) libhal_psi_get_int (&i)); break; case LIBHAL_PROPERTY_TYPE_UINT64: - printf (" %s = %lld = 0x%llx (uint64)\n", key, - libhal_psi_get_uint64 (&i), - libhal_psi_get_uint64 (&i)); + printf (" %s = %llu = 0x%llx (uint64)\n", key, + (long long unsigned int) libhal_psi_get_uint64 (&i), + (long long unsigned int) libhal_psi_get_uint64 (&i)); break; case LIBHAL_PROPERTY_TYPE_BOOLEAN: printf (" %s = %s (bool)\n", key, |