diff options
author | Thomas Haller <thaller@redhat.com> | 2016-06-29 15:32:49 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-07-08 10:02:07 (GMT) |
commit | d7b54b17b6a1be62aa99d34e24d0476b7f5039ba (patch) | |
tree | 078bf316418b0d97bae91bb7edea476b2348315c | |
parent | cae64f81d5a3d370f232af1a6f82c2213763a26c (diff) | |
download | libnl-d7b54b17b6a1be62aa99d34e24d0476b7f5039ba.zip libnl-d7b54b17b6a1be62aa99d34e24d0476b7f5039ba.tar.gz libnl-d7b54b17b6a1be62aa99d34e24d0476b7f5039ba.tar.bz2 |
lib: fix return value UINT_MAX for nl_object_diff_mask()
Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r-- | lib/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/object.c b/lib/object.c index 577eceb..4951885 100644 --- a/lib/object.c +++ b/lib/object.c @@ -406,7 +406,7 @@ uint32_t nl_object_diff_mask(struct nl_object *a, struct nl_object *b, struct nl_object_ops *ops = obj_ops(a); if (ops != obj_ops(b) || ops->oo_compare == NULL) - return UINT_MAX; + return UINT32_MAX; return ops->oo_compare(a, b, mask, 0); } |