Sync to Wine-20050930:
Alexandre Julliard <julliard@winehq.org>
- Avoid some warnings on 64-bit platforms.
Modified: trunk/reactos/tools/unicode/cptable.c

Modified: trunk/reactos/tools/unicode/cptable.c
--- trunk/reactos/tools/unicode/cptable.c	2005-10-08 09:19:17 UTC (rev 18320)
+++ trunk/reactos/tools/unicode/cptable.c	2005-10-08 09:33:47 UTC (rev 18321)
@@ -156,7 +156,7 @@
 
 static int cmp_codepage( const void *codepage, const void *entry )
 {
-    return (unsigned int)codepage - (*(const union cptable *const *)entry)->info.codepage;
+    return *(unsigned int *)codepage - (*(const union cptable *const *)entry)->info.codepage;
 }
 
 
@@ -165,7 +165,7 @@
 {
     const union cptable **res;
 
-    if (!(res = bsearch( (void *)codepage, cptables, NB_CODEPAGES,
+    if (!(res = bsearch( &codepage, cptables, NB_CODEPAGES,
                          sizeof(cptables[0]), cmp_codepage ))) return NULL;
     return *res;
 }