[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-dev] [patch] Get rid of warning in findwebcams.cpp
From: |
Petter Reinholdtsen |
Subject: |
[Gnash-dev] [patch] Get rid of warning in findwebcams.cpp |
Date: |
Sat, 20 Nov 2010 13:47:05 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
The current build report this warning:
findwebcams.cpp:173: warning: too many arguments for format
This patch get rid of it.
diff --git a/utilities/findwebcams.cpp b/utilities/findwebcams.cpp
index 288efb1..96e360c 100644
--- a/utilities/findwebcams.cpp
+++ b/utilities/findwebcams.cpp
@@ -170,7 +170,7 @@ int main () {
for (size_t i = 0; i < numdevs; ++i)
{
if (i == 0 && (vidVector[i] != 0)) {
- g_print(" %d. Video Test Source (videotestsrc)\n", i, i);
+ g_print(" %d. Video Test Source (videotestsrc)\n", i);
counter++;
} else if (i == 0 && (vidVector[i] == 0)) {
g_print("no test video device available");
Happy hacking,
--
Petter Reinholdtsen
- [Gnash-dev] [patch] Get rid of warning in findwebcams.cpp,
Petter Reinholdtsen <=