From 2b5bf202610edf7744ab8e087553f8ec109d1299 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 20 Jul 2017 17:41:22 +0200 Subject: [PATCH] blob: Remove some unnecessary casts for arguments to read_u32(). Since read_u32() has been modified to receive a void * pointer, these casts are no longer needed. --- blob.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blob.c b/blob.c index 2d7c6050..7798a493 100644 --- a/blob.c +++ b/blob.c @@ -33,8 +33,8 @@ */ static int uint32_compare(const struct osl_object *obj1, const struct osl_object *obj2) { - uint32_t d1 = read_u32((const char *)obj1->data); - uint32_t d2 = read_u32((const char *)obj2->data); + uint32_t d1 = read_u32(obj1->data); + uint32_t d2 = read_u32(obj2->data); if (d1 < d2) return 1; -- 2.39.2