metadata: Change sign of data type

This commit is contained in:
Mukund Sivaraman
2011-10-27 14:45:59 +05:30
parent 91d786d7ba
commit 018cdc7a99

View File

@ -1065,7 +1065,7 @@ text_handler (GMarkupParseContext *markup_context,
case STATE_INSIDE_ALT_LI_RSC_IMG: case STATE_INSIDE_ALT_LI_RSC_IMG:
{ {
size_t len, max_size; size_t len, max_size;
gchar *decoded; guchar *decoded;
gint decoded_size; gint decoded_size;
gint state; gint state;
guint save; guint save;
@ -1103,7 +1103,7 @@ text_handler (GMarkupParseContext *markup_context,
size_p = g_new (gint, 1); size_p = g_new (gint, 1);
*size_p = decoded_size; *size_p = decoded_size;
add_property_value (context, XMP_PTYPE_ALT_THUMBS, add_property_value (context, XMP_PTYPE_ALT_THUMBS,
(char *) size_p, decoded); (gchar *) size_p, (gchar *) decoded);
} }
else else
add_property_value (context, XMP_PTYPE_ALT_THUMBS, NULL, NULL); add_property_value (context, XMP_PTYPE_ALT_THUMBS, NULL, NULL);