mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
Sync to Wine-20050628:
Eric Pouech <pouech-eric@wanadoo.fr> - Const correctness fixes. Mike McCormack <mike@codeweavers.com> - Fix some declaration and write string warnings. svn path=/trunk/; revision=16436
This commit is contained in:
parent
dd349cfd8b
commit
93232de775
2 changed files with 2 additions and 2 deletions
|
@ -156,7 +156,7 @@ static const union cptable * const cptables[60] =
|
|||
|
||||
static int cmp_codepage( const void *codepage, const void *entry )
|
||||
{
|
||||
return (unsigned int)codepage - (*(const union cptable **)entry)->info.codepage;
|
||||
return (unsigned int)codepage - (*(const union cptable *const *)entry)->info.codepage;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
typedef unsigned char uchar;
|
||||
|
||||
/* get the decomposition of a Unicode char */
|
||||
int get_decomposition( WCHAR src, WCHAR *dst, unsigned int dstlen )
|
||||
static int get_decomposition( WCHAR src, WCHAR *dst, unsigned int dstlen )
|
||||
{
|
||||
extern const WCHAR unicode_decompose_table[];
|
||||
const WCHAR *ptr = unicode_decompose_table;
|
||||
|
|
Loading…
Reference in a new issue