[monkey-bubble: 82/753] Use unsigned ints here.
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 82/753] Use unsigned ints here.
- Date: Wed, 14 Jul 2010 22:02:34 +0000 (UTC)
commit c4b991dfd39d4753d8a0d69d1315a93c6600339d
Author: Miguel de Icaza <miguel nuclecu unam mx>
Date: Sun Sep 27 22:19:40 1998 +0000
Use unsigned ints here.
1998-09-27 Miguel de Icaza <miguel nuclecu unam mx>
* gnome-scores.c (gnome_scores_set_colors,
gnome_socres_set_def_color, gnome_scores_new): Use unsigned ints
here.
* gnome-preferences.c (gnome_preferences_set_button_layout):
Unsigned int warning fix.
* gnome-properties.c
(gnome_property_configurator_request_foreach): Unsigned int
warning fix.
* gnome-init.h: New file. Move gnome-init declarations here.
* gnome-dns.c (struct): Use guint32 for the tag
* gnome-color-selector.c (color_dropped): Use usngined int
* gnome-dentry-edit.c: Include <string.h>
libgnomeui/gnome-scores.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgnomeui/gnome-scores.c b/libgnomeui/gnome-scores.c
index ccb20ec..0621162 100644
--- a/libgnomeui/gnome-scores.c
+++ b/libgnomeui/gnome-scores.c
@@ -65,7 +65,7 @@ gnome_scores_new ( guint n_scores,
GtkWidget *label;
gchar tmp[10];
gchar *tmp2;
- int i;
+ unsinged int i;
const gchar * buttons[] = { GNOME_STOCK_BUTTON_OK, NULL };
gnome_dialog_constructv(GNOME_DIALOG(retval),
@@ -150,7 +150,7 @@ gnome_scores_set_color(GnomeScores *gs, guint n, GdkColor *col)
void
gnome_scores_set_def_color(GnomeScores *gs, GdkColor *col)
{
- int i;
+ unsigned int i;
for(i=0;i<gs->n_scores;i++) {
gnome_scores_set_color(gs, i, col);
@@ -160,7 +160,7 @@ gnome_scores_set_def_color(GnomeScores *gs, GdkColor *col)
void
gnome_scores_set_colors(GnomeScores *gs, GdkColor *col)
{
- int i;
+ unsigned int i;
for(i=0;i<gs->n_scores;i++) {
gnome_scores_set_color(gs, i, col+i);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]