Yet another patch to get rid of a compile warning. This time it is this one:
klash_part.cpp:471: warning: comparison between signed and unsigned integer expressions The code in question look like this: for (unsigned int i = 0; i < args.size (); ++i) { kdDebug () << " " << args[i] << endl; } The problem is that QStringList::size() return int, not unsigned it, according to <URL:http://doc.qt.nokia.com/4.6/qlist.html#size>. The fix is to use int instead of unsigned int for i. diff --git a/plugin/klash4/klash_part.cpp b/plugin/klash4/klash_part.cpp index 1c413cd..5b970db 100644 --- a/plugin/klash4/klash_part.cpp +++ b/plugin/klash4/klash_part.cpp @@ -468,7 +468,7 @@ KDE_NO_EXPORT bool KlashLiveConnectExtension::call if (!entry) return false; kdDebug () << "entry " << entry->name << endl; - for (unsigned int i = 0; i < args.size (); ++i) { + for (int i = 0; i < args.size (); ++i) { kdDebug () << " " << args[i] << endl; } //Klash::View * view = static_cast <Klash::View*> (player->widget ()); Happy hacking, -- Petter Reinholdtsen _______________________________________________ Gnash-dev mailing list Gnash-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-dev