gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [SCM] Gnash branch, master, updated. 10ce6063ce86bf3021d5


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. 10ce6063ce86bf3021d5822a039f33a3b5dcb349
Date: Sun, 21 Nov 2010 21:34:35 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  10ce6063ce86bf3021d5822a039f33a3b5dcb349 (commit)
      from  8b23095343d5d585138e3cbba59caeb80e6be707 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=10ce6063ce86bf3021d5822a039f33a3b5dcb349


commit 10ce6063ce86bf3021d5822a039f33a3b5dcb349
Author: Sandro Santilli <address@hidden>
Date:   Sun Nov 21 22:34:29 2010 +0100

    Fix comparison between signed and unsigned integer

diff --git a/utilities/findmicrophones.cpp b/utilities/findmicrophones.cpp
index e368b5c..b686de8 100644
--- a/utilities/findmicrophones.cpp
+++ b/utilities/findmicrophones.cpp
@@ -149,7 +149,7 @@ int main () {
         g_print("set microphoneDevice %d\n", dev_select);
     } else {
         numdevs = findAudioDevs(audioVector);
-        if (fromrc <= (audioVector.size() - 1)) {
+        if ((size_t)fromrc < audioVector.size()) {
             g_print("\nThe gnashrc file reports default microphone is set 
to:\n");
             g_print("%s (%s)\n", audioVector[fromrc]->deviceName,
                 audioVector[fromrc]->deviceType);

-----------------------------------------------------------------------

Summary of changes:
 utilities/findmicrophones.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]