X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=blob.c;h=890b92267ef68d390f8806a135c37a2cc9809021;hp=8abecf6aa7301318426de7f44ca9bb96f3bd734b;hb=263cda6ee386b9c5d409ca02798632ca67282796;hpb=764e71ceb1e188086c08e38dfd52d45b67dc15ba diff --git a/blob.c b/blob.c index 8abecf6a..890b9226 100644 --- a/blob.c +++ b/blob.c @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2007 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2007 Andre Noll , see file COPYING. */ /** \file blob.c Macros and functions for blob handling. */ @@ -30,13 +26,11 @@ * \param obj2 Pointer to the second integer. * * \return The values required for an osl compare function. - * - * \sa osl_compare_func, osl_hash_compare(). */ 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;