struct FormatRawEntry {
const gchar *extension;
FormatRawMatchType magic_type;
- const guint magic_offset;
+ guint magic_offset;
gconstpointer magic_pattern;
- const guint magic_length;
- const FormatRawExifType exif_type;
+ guint magic_length;
+ FormatRawExifType exif_type;
FormatRawExifParseFunc exif_func;
const gchar *description;
FormatRawParseFunc func_parse;
struct FormatExifEntry {
FormatExifMatchType header_type;
gconstpointer header_pattern;
- const guint header_length;
+ guint header_length;
const gchar *description;
FormatExifParseFunc func_parse;
};
g_string_free(out_string, TRUE);
}
-static gboolean wait_cb(const gpointer data)
+static gboolean wait_cb(gpointer data)
{
gint position = GPOINTER_TO_INT(data);
gint x = position >> 16;