Lucian Adrian Grijincu wrote:
On Sat, May 10, 2008 at 9:52 PM,  <[EMAIL PROTECTED]> wrote:
    }
-    if ((*num) = j)
+    if (((*num) = j) != 0)
wouldn't just another set of parentheses fix it?
if (((*num) = j))

Actually, ((*num = j)) is legit, or ((*num = j) != 0) for clarity.  The
(*num) parens are redundant in any C code I've ever seen :-)

Reply via email to