lkml.org 
[lkml]   [2000]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.044 / U:1.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site