lkml.org 
[lkml]   [2003]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: IA32 - 3 New warnings (gcc 3.2.2)
John Cherry <cherry@osdl.org> wrote:
>
> fs/smbfs/proc.c:216: warning: initialization from incompatible pointer type
> fs/smbfs/proc.c:217: warning: initialization from incompatible pointer type

doh.

--- 25-power4/fs/smbfs/proc.c~smbfs-nls-fix 2003-09-21 23:29:42.000000000 -0700
+++ 25-power4-akpm/fs/smbfs/proc.c 2003-09-21 23:30:17.000000000 -0700
@@ -212,12 +212,9 @@ static int char2uni(const unsigned char
}

static struct nls_table unicode_table = {
- "unicode",
- uni2char,
- char2uni,
- NULL, /* not used by smbfs */
- NULL,
- NULL, /* not a module */
+ .charset = "unicode",
+ .uni2char = uni2char,
+ .char2uni = char2uni,
};

/* ----------------------------------------------------------- */
_

-
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/

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