Messages in this thread | | | Subject | Re: Linux 2.6.9-rc2 | From | Peter Osterlund <> | Date | 15 Sep 2004 20:44:41 +0200 |
| |
Gerd Knorr <kraxel@bytesex.org> writes:
> > I found the change that crashes my computer. This patch is enough to > > fix it for me: > > > > - if (!yoffset) > > - chroma = (line & 1) == 0; > > - else > > - chroma = (line & 1) == 1; > > Does the one below work as well? ... > - chroma = (line & 1) == 0; > + chroma = ((line & 1) == 0);
No, that patch makes no difference, because == has higher precedence than = in C. (I also verified that this patch doesn't change the generated object code, so compiler bugs aren't an issue either.)
-- Peter Osterlund - petero2@telia.com http://w1.894.telia.com/~u89404340 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |