[ros-diffs] [cwittich] 38386: sync fusion with wine 1.1.11

cwittich at svn.reactos.org cwittich at svn.reactos.org
Sat Dec 27 14:08:24 CET 2008


Author: cwittich
Date: Sat Dec 27 07:08:23 2008
New Revision: 38386

URL: http://svn.reactos.org/svn/reactos?rev=38386&view=rev
Log:
sync fusion with wine 1.1.11

Modified:
    trunk/reactos/dll/win32/fusion/assembly.c

Modified: trunk/reactos/dll/win32/fusion/assembly.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/fusion/assembly.c?rev=38386&r1=38385&r2=38386&view=diff
==============================================================================
--- trunk/reactos/dll/win32/fusion/assembly.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/fusion/assembly.c [iso-8859-1] Sat Dec 27 07:08:23 2008
@@ -502,7 +502,7 @@
     ULONG currofs;
 
     currofs = offset;
-    assembly->tableshdr = (METADATATABLESHDR *)assembly_data_offset(assembly, currofs);
+    assembly->tableshdr = assembly_data_offset(assembly, currofs);
     if (!assembly->tableshdr)
         return E_FAIL;
 
@@ -514,7 +514,7 @@
                        sizeof(DWORD) : sizeof(WORD);
 
     currofs += sizeof(METADATATABLESHDR);
-    assembly->numrows = (DWORD *)assembly_data_offset(assembly, currofs);
+    assembly->numrows = assembly_data_offset(assembly, currofs);
     if (!assembly->numrows)
         return E_FAIL;
 
@@ -628,9 +628,9 @@
                 return hr;
         }
         else if (!lstrcmpA(stream, "#Strings") || !lstrcmpA(stream, "Strings"))
-            assembly->strings = (BYTE *)assembly_data_offset(assembly, ofs);
+            assembly->strings = assembly_data_offset(assembly, ofs);
         else if (!lstrcmpA(stream, "#Blob") || !lstrcmpA(stream, "Blob"))
-            assembly->blobs = (BYTE *)assembly_data_offset(assembly, ofs);
+            assembly->blobs = assembly_data_offset(assembly, ofs);
 
         ptr += lstrlenA(stream) + 1;
         ptr = (BYTE *)(((UINT_PTR)ptr + 3) & ~3); /* align on DWORD boundary */
@@ -883,7 +883,7 @@
     if (offset == -1)
         return E_FAIL;
 
-    asmtbl = (ASSEMBLYTABLE *)assembly_data_offset(assembly, offset);
+    asmtbl = assembly_data_offset(assembly, offset);
     if (!asmtbl)
         return E_FAIL;
 



More information about the Ros-diffs mailing list