wine/dlls/oleaut32 typelib.c

Alexandre Julliard julliard at wine.codeweavers.com
Thu Dec 1 06:00:52 CST 2005


ChangeSet ID:	21592
CVSROOT:	/opt/cvs-commit
Module name:	wine
Changes by:	julliard at winehq.org	2005/12/01 06:00:52

Modified files:
	dlls/oleaut32  : typelib.c 

Log message:
	Robert Shearman <rob at codeweavers.com>
	Don't truncate large integer constants.

Patch: http://cvs.winehq.org/patch.py?id=21592

Old revision  New revision  Changes     Path
 1.180         1.181         +1 -1       wine/dlls/oleaut32/typelib.c

Index: wine/dlls/oleaut32/typelib.c
diff -u -p wine/dlls/oleaut32/typelib.c:1.180 wine/dlls/oleaut32/typelib.c:1.181
--- wine/dlls/oleaut32/typelib.c:1.180	1 Dec 2005 12: 0:52 -0000
+++ wine/dlls/oleaut32/typelib.c	1 Dec 2005 12: 0:52 -0000
@@ -1532,7 +1532,7 @@ static void MSFT_ReadValue( VARIANT * pV
 
     if(offset <0) { /* data are packed in here */
         V_VT(pVar) = (offset & 0x7c000000 )>> 26;
-        V_I2(pVar) = offset & 0x3ffffff;
+        V_I4(pVar) = offset & 0x3ffffff;
         return;
     }
     MSFT_ReadLEWords(&(V_VT(pVar)), sizeof(VARTYPE), pcx,



More information about the wine-cvs mailing list