From: Andre Noll Date: Thu, 20 Jul 2017 15:41:22 +0000 (+0200) Subject: blob: Remove some unnecessary casts for arguments to read_u32(). X-Git-Tag: v0.6.1~10^2 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=2b5bf202610edf7744ab8e087553f8ec109d1299 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. --- 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;