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

Re: [libvirt] Non-zero constant warning on RHEL 6.1 with 0.9.7



On 11/15/2011 06:41 AM, Daniel P. Berrange wrote:
On Tue, Nov 15, 2011 at 06:34:27AM -0500, Stefan Berger wrote:

Is the difference just that we're deferencing a char * for the second arg
rather than using a constant value ?

Would it suffice to do

   int c = *cur;
   if (strchr(toescape, c))
I still get the same error with this. It's the two variables that cause the trouble here.

   Stefan


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