oleaut32: Constify some variables.

This commit is contained in:
Andrew Talbot 2007-07-25 21:37:23 +01:00 committed by Alexandre Julliard
parent 718e23fb68
commit f73821c286
1 changed files with 3 additions and 3 deletions

View File

@ -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;