Messages in this thread | | | Date | Tue, 3 Oct 2000 03:18:31 -0500 (CDT) | From | Jeff Garzik <> | Subject | Re: 2.2.18pre13: Small patches |
| |
On Mon, 2 Oct 2000, Chip Salzenberg wrote: > 3. Trivial patch to fs/vfat/namei.c to avoid a compile-time warning. > > Index: linux/fs/vfat/namei.c > --- linux/fs/vfat/namei.c:1.2 Fri Sep 1 19:03:16 2000 > +++ linux/fs/vfat/namei.c Thu Sep 28 00:53:55 2000 > @@ -676,7 +676,8 @@ > i += 4; > } else { > int llen; > - nls->char2uni(ip, &llen, op, op+1); > + nls->char2uni((unsigned char *)ip, > + &llen, op, op+1); > op += 2; > ip += llen; > i += llen; > >
char2uni's rawstring is not changed.
The correct fix is a much larger patch which changes char2uni's declaration to include const, and then all the changes that trickle down from there.
Jeff
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |