[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r12086: Fix bustage, and the warning
From: |
Bastiaan Jacques |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r12086: Fix bustage, and the warning it was intended to fix. |
Date: |
Sat, 20 Mar 2010 15:55:26 +0100 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 12086
committer: Bastiaan Jacques <address@hidden>
branch nick: trunk
timestamp: Sat 2010-03-20 15:55:26 +0100
message:
Fix bustage, and the warning it was intended to fix.
modified:
gui/gtk.cpp
=== modified file 'gui/gtk.cpp'
--- a/gui/gtk.cpp 2010-03-20 03:06:08 +0000
+++ b/gui/gtk.cpp 2010-03-20 14:55:26 +0000
@@ -2271,11 +2271,11 @@
GtkGui::checkX11Extension(const std::string& ext)
{
- unsigned int n = 0;
+ int n = 0;
char **extlist = XListExtensions(GDK_DISPLAY(), &n);
if (extlist) {
- for (size_t i = 0; i < n; i++) {
+ for (int i = 0; i < n; i++) {
if (std::strncmp(ext.c_str(), extlist[i], ext.size()) == 0) {
return true;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r12086: Fix bustage, and the warning it was intended to fix.,
Bastiaan Jacques <=