[tracker/binary-log] libtracker-common: Fix parameter type of tracker_crc32



commit ea0c759b7597866afa6b0065d7b9c43bbee67e1e
Author: Jürg Billeter <j bitron ch>
Date:   Thu Dec 31 16:10:21 2009 +0100

    libtracker-common: Fix parameter type of tracker_crc32

 src/libtracker-common/tracker-crc32.c |    2 +-
 src/libtracker-common/tracker-crc32.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-common/tracker-crc32.c b/src/libtracker-common/tracker-crc32.c
index 4f4adba..82bd3d8 100644
--- a/src/libtracker-common/tracker-crc32.c
+++ b/src/libtracker-common/tracker-crc32.c
@@ -82,7 +82,7 @@ static const guint32 crcTable[256] = {
 };
 
 guint32
-tracker_crc32 (const gpointer ptr, gsize len)
+tracker_crc32 (gconstpointer ptr, gsize len)
 {
   guint32 crc = 0xFFFFFFFF;
   const guint8 *bp = (const guint8 *) ptr;
diff --git a/src/libtracker-common/tracker-crc32.h b/src/libtracker-common/tracker-crc32.h
index d1f16f7..973942e 100644
--- a/src/libtracker-common/tracker-crc32.h
+++ b/src/libtracker-common/tracker-crc32.h
@@ -46,4 +46,4 @@
 
 #include <glib.h>
 
-guint32 tracker_crc32 (const gpointer ptr, gsize len);
+guint32 tracker_crc32 (gconstpointer ptr, gsize len);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]