[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] [patch] Get rid of warnings in findwebcams.cpp
From: |
Benjamin Wolsey |
Subject: |
Re: [Gnash-dev] [patch] Get rid of warnings in findwebcams.cpp |
Date: |
Tue, 23 Nov 2010 08:45:05 +0100 |
> I believe this patch solve the issues, bu using size_t for
> non-negative values and casting the size_t argument to %d to (int).
> - g_print(" %d. Video Test Source (videotestsrc)\n", i);
> + g_print(" %d. Video Test Source (videotestsrc)\n",
> (int)i);
We shouldn't be using things like g_print. Either including log.h and
using log_debug, or C++ iostreams would fix this particular line.
bwy
--
--
Free Flash, use Gnash
http://www.gnu.org/software/gnash/
Benjamin Wolsey, Software Developer - http://benjaminwolsey.de
C++ and Open-Source Flash blog - http://www.benjaminwolsey.de/bwysblog
xmpp:address@hidden
http://identi.ca/bwy
signature.asc
Description: This is a digitally signed message part