gnome-games r8306 - trunk/blackjack/src



Author: thomashpa
Date: Sun Nov  9 21:53:02 2008
New Revision: 8306
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8306&view=rev

Log:
Fix another warning. G_N_ELEMENTS macro uses sizeof which returns unsigned int

Modified:
   trunk/blackjack/src/chips.cpp

Modified: trunk/blackjack/src/chips.cpp
==============================================================================
--- trunk/blackjack/src/chips.cpp	(original)
+++ trunk/blackjack/src/chips.cpp	Sun Nov  9 21:53:02 2008
@@ -72,7 +72,7 @@
 
         pixmapdir = games_runtime_get_directory (GAMES_RUNTIME_GAME_PIXMAP_DIRECTORY);
 
-        for (gint i = 0; i < G_N_ELEMENTS (names); i++) {
+        for (guint i = 0; i < G_N_ELEMENTS (names); i++) {
                 gchar *fullname;
 
                 fullname = g_build_filename (pixmapdir, names[i], NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]