Andrew Talbot : oleaut32: Constify some variables.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jul 3 08:01:24 CDT 2007
Module: wine
Branch: master
Commit: ac82f20b36206bc4591bb3a27b94122eb3ce0de6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ac82f20b36206bc4591bb3a27b94122eb3ce0de6
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Mon Jul 2 21:14:59 2007 +0100
oleaut32: Constify some variables.
---
dlls/oleaut32/olefont.c | 4 ++--
dlls/oleaut32/safearray.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/oleaut32/olefont.c b/dlls/oleaut32/olefont.c
index 5aba82e..3376c0c 100644
--- a/dlls/oleaut32/olefont.c
+++ b/dlls/oleaut32/olefont.c
@@ -176,7 +176,7 @@ static inline OLEFontImpl *impl_from_IPersistStreamInit( IPersistStreamInit *ifa
* Prototypes for the implementation functions for the IFont
* interface
*/
-static OLEFontImpl* OLEFontImpl_Construct(LPFONTDESC fontDesc);
+static OLEFontImpl* OLEFontImpl_Construct(const FONTDESC *fontDesc);
static void OLEFontImpl_Destroy(OLEFontImpl* fontDesc);
static ULONG WINAPI OLEFontImpl_AddRef(IFont* iface);
@@ -2201,7 +2201,7 @@ static const IPersistStreamInitVtbl OLEFontImpl_IPersistStreamInit_VTable =
* The caller of this method must release the object when it's
* done with it.
*/
-static OLEFontImpl* OLEFontImpl_Construct(LPFONTDESC fontDesc)
+static OLEFontImpl* OLEFontImpl_Construct(const FONTDESC *fontDesc)
{
OLEFontImpl* newObject = 0;
diff --git a/dlls/oleaut32/safearray.c b/dlls/oleaut32/safearray.c
index d0ca263..8b8072c 100644
--- a/dlls/oleaut32/safearray.c
+++ b/dlls/oleaut32/safearray.c
@@ -204,7 +204,7 @@ static void SAFEARRAY_SetFeatures(VARTYPE vt, SAFEARRAY *psa)
}
/* Create an array */
-static SAFEARRAY* SAFEARRAY_Create(VARTYPE vt, UINT cDims, SAFEARRAYBOUND *rgsabound, ULONG ulSize)
+static SAFEARRAY* SAFEARRAY_Create(VARTYPE vt, UINT cDims, const SAFEARRAYBOUND *rgsabound, ULONG ulSize)
{
SAFEARRAY *psa = NULL;
int i;
More information about the wine-cvs
mailing list