diff src/format_raw.c @ 1002:3096a47232ec

Use gpointer instead of void *.
author zas_
date Tue, 26 Aug 2008 22:37:18 +0000
parents 4fe8f9656107
children 4bfee4a63f86
line wrap: on
line diff
--- a/src/format_raw.c	Tue Aug 26 22:30:40 2008 +0000
+++ b/src/format_raw.c	Tue Aug 26 22:37:18 2008 +0000
@@ -42,7 +42,7 @@
 	const gchar *extension;
 	FormatRawMatchType magic_type;
 	const guint magic_offset;
-	const void *magic_pattern;
+	const gpointer magic_pattern;
 	const guint magic_length;
 	const FormatRawExifType exif_type;
 	FormatRawExifParseFunc exif_func;
@@ -67,7 +67,7 @@
 typedef struct _FormatExifEntry FormatExifEntry;
 struct _FormatExifEntry {
 	FormatExifMatchType header_type;
-	const void *header_pattern;
+	const gpointer header_pattern;
 	const guint header_length;
 	const gchar *description;
 	FormatExifParseFunc func_parse;
@@ -299,7 +299,7 @@
 				    guint *image_offset, guint *exif_offset)
 {
 	FormatRawEntry *entry;
-	void *map_data = NULL;
+	gpointer map_data = NULL;
 	size_t map_len = 0;
 	struct stat st;
 	gint success;