Module: wine Branch: master Commit: f73821c286ff17444972dfdd4751e370a6a817de URL: http://source.winehq.org/git/wine.git/?a=commit;h=f73821c286ff17444972dfdd47...
Author: Andrew Talbot Andrew.Talbot@talbotville.com Date: Wed Jul 25 21:37:23 2007 +0100
oleaut32: Constify some variables.
---
dlls/oleaut32/tmarshal.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/oleaut32/tmarshal.c b/dlls/oleaut32/tmarshal.c index 3772910..1a30aa3 100644 --- a/dlls/oleaut32/tmarshal.c +++ b/dlls/oleaut32/tmarshal.c @@ -96,7 +96,7 @@ xbuf_resize(marshal_state *buf, DWORD newsize) }
static HRESULT -xbuf_add(marshal_state *buf, LPBYTE stuff, DWORD size) +xbuf_add(marshal_state *buf, const BYTE *stuff, DWORD size) { HRESULT hr;
@@ -523,7 +523,7 @@ _argsize(DWORD vt) { }
static int -_xsize(TYPEDESC *td) { +_xsize(const TYPEDESC *td) { switch (td->vt) { case VT_DATE: return sizeof(DATE); @@ -531,7 +531,7 @@ _xsize(TYPEDESC *td) { return sizeof(VARIANT)+3; case VT_CARRAY: { int i, arrsize = 1; - ARRAYDESC *adesc = td->u.lpadesc; + const ARRAYDESC *adesc = td->u.lpadesc;
for (i=0;i<adesc->cDims;i++) arrsize *= adesc->rgbounds[i].cElements;