diff --git a/ChangeLog b/ChangeLog index caebfd1758..806fcbf38f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2005-08-03 Sven Neumann + + * libgimp/gimpbrushmenu.c + * libgimp/gimpdrawablecombobox.c + * libgimp/gimpfontselectbutton.c + * libgimp/gimpgradientmenu.c + * libgimp/gimpimagecombobox.c + * libgimp/gimppalettemenu.c + * libgimp/gimppatternmenu.c: fixed signedness warnings. + 2005-08-02 Manish Singh * plug-ins/pygimp/procbrowser.c: Quick and dirty restore of browser diff --git a/libgimp/gimpbrushmenu.c b/libgimp/gimpbrushmenu.c index 9b23fd5b4e..4dc1cc7de2 100644 --- a/libgimp/gimpbrushmenu.c +++ b/libgimp/gimpbrushmenu.c @@ -612,7 +612,7 @@ gimp_brush_select_drag_data_received (GtkWidget *preview, return; } - str = g_strndup (selection->data, selection->length); + str = g_strndup ((const gchar *) selection->data, selection->length); if (g_utf8_validate (str, -1, NULL)) { diff --git a/libgimp/gimpdrawablecombobox.c b/libgimp/gimpdrawablecombobox.c index 44a7d5950d..ce33e7d992 100644 --- a/libgimp/gimpdrawablecombobox.c +++ b/libgimp/gimpdrawablecombobox.c @@ -406,7 +406,7 @@ gimp_drawable_combo_box_drag_data_received (GtkWidget *widget, return; } - str = g_strndup (selection->data, selection->length); + str = g_strndup ((const gchar *) selection->data, selection->length); if (g_utf8_validate (str, -1, NULL)) { diff --git a/libgimp/gimpfontselectbutton.c b/libgimp/gimpfontselectbutton.c index d7cf9fa7bb..9128d3f37a 100644 --- a/libgimp/gimpfontselectbutton.c +++ b/libgimp/gimpfontselectbutton.c @@ -400,7 +400,7 @@ gimp_font_select_drag_data_received (GtkWidget *widget, return; } - str = g_strndup (selection->data, selection->length); + str = g_strndup ((const gchar *) selection->data, selection->length); if (g_utf8_validate (str, -1, NULL)) { diff --git a/libgimp/gimpgradientmenu.c b/libgimp/gimpgradientmenu.c index 7d56fff26c..6a9bf2309e 100644 --- a/libgimp/gimpgradientmenu.c +++ b/libgimp/gimpgradientmenu.c @@ -422,7 +422,7 @@ gimp_gradient_select_drag_data_received (GtkWidget *widget, return; } - str = g_strndup (selection->data, selection->length); + str = g_strndup ((const gchar *) selection->data, selection->length); if (g_utf8_validate (str, -1, NULL)) { diff --git a/libgimp/gimpimagecombobox.c b/libgimp/gimpimagecombobox.c index b06a444aa6..038b95f297 100644 --- a/libgimp/gimpimagecombobox.c +++ b/libgimp/gimpimagecombobox.c @@ -200,7 +200,7 @@ gimp_image_combo_box_drag_data_received (GtkWidget *widget, return; } - str = g_strndup (selection->data, selection->length); + str = g_strndup ((const gchar *) selection->data, selection->length); if (g_utf8_validate (str, -1, NULL)) { diff --git a/libgimp/gimpitemcombobox.c b/libgimp/gimpitemcombobox.c index 44a7d5950d..ce33e7d992 100644 --- a/libgimp/gimpitemcombobox.c +++ b/libgimp/gimpitemcombobox.c @@ -406,7 +406,7 @@ gimp_drawable_combo_box_drag_data_received (GtkWidget *widget, return; } - str = g_strndup (selection->data, selection->length); + str = g_strndup ((const gchar *) selection->data, selection->length); if (g_utf8_validate (str, -1, NULL)) { diff --git a/libgimp/gimppalettemenu.c b/libgimp/gimppalettemenu.c index 569545e6cd..11cc0eaf0d 100644 --- a/libgimp/gimppalettemenu.c +++ b/libgimp/gimppalettemenu.c @@ -272,7 +272,7 @@ gimp_palette_select_drag_data_received (GtkWidget *widget, return; } - str = g_strndup (selection->data, selection->length); + str = g_strndup ((const gchar *) selection->data, selection->length); if (g_utf8_validate (str, -1, NULL)) { diff --git a/libgimp/gimppatternmenu.c b/libgimp/gimppatternmenu.c index ecd67d941f..7721e8b3b7 100644 --- a/libgimp/gimppatternmenu.c +++ b/libgimp/gimppatternmenu.c @@ -506,7 +506,7 @@ gimp_pattern_select_drag_data_received (GtkWidget *preview, return; } - str = g_strndup (selection->data, selection->length); + str = g_strndup ((const gchar *) selection->data, selection->length); if (g_utf8_validate (str, -1, NULL)) {