Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed compiler warnings related to changes for 1828500

  • Loading branch information...
commit bd2c292097937be287311e4639bf95a58f3b7f86 1 parent 582aae6
buccella authored
Showing with 7 additions and 7 deletions.
  1. +1 −1  cmpift.h
  2. +2 −2 context.c
  3. +4 −4 instance.c
View
2  cmpift.h
@@ -2210,7 +2210,7 @@ struct _CMPIErrorFT {
@param rc Output: Service return status (suppressed when NULL).
@return Pointer to char *representation.
*/
- const char *(*getCharPtr) (const CMPIString * st, CMPIStatus * rc);
+ char *(*getCharPtr) (const CMPIString * st, CMPIStatus * rc);
};
View
4 context.c
@@ -1,6 +1,6 @@
/*
- * $Id: context.c,v 1.10 2007/10/02 09:02:11 mihajlov Exp $
+ * $Id: context.c,v 1.11 2008/04/15 22:06:00 buccella Exp $
*
* © Copyright IBM Corp. 2005, 2007
*
@@ -140,7 +140,7 @@ static unsigned int __cft_getEntryCount(const CMPIContext * ctx, CMPIStatus * rc
}
-static CMPIStatus __cft_addEntry(CMPIContext * ctx,
+static CMPIStatus __cft_addEntry(const CMPIContext * ctx,
const char *name,
const CMPIValue * value, CMPIType type)
{
View
8 instance.c
@@ -1,5 +1,5 @@
/*
- * $Id: instance.c,v 1.39 2008/01/09 00:52:38 buccella Exp $
+ * $Id: instance.c,v 1.40 2008/04/15 22:06:00 buccella Exp $
*
* © Copyright IBM Corp. 2005, 2007
*
@@ -233,7 +233,7 @@ static CMPICount __ift_getPropertyCount(const CMPIInstance * ci, CMPIStatus * rc
}
-static CMPIStatus __ift_setProperty(CMPIInstance * instance,
+static CMPIStatus __ift_setProperty(const CMPIInstance * instance,
const char *name,
const CMPIValue * value, CMPIType type)
{
@@ -541,7 +541,7 @@ static struct {
unsigned int (*getPropertyCount)
(const CMPIInstance* inst, CMPIStatus* rc);
CMPIStatus (*setProperty)
- (CMPIInstance* inst, const char *name,
+ (const CMPIInstance* inst, const char *name,
const CMPIValue* value, CMPIType type);
CMPIObjectPath* (*getObjectPath)
(const CMPIInstance* inst, CMPIStatus* rc);
@@ -634,7 +634,7 @@ CMPIInstance *internal_new_CMPIInstance(int mode, const CMPIObjectPath * cop,
CMPIStatus tmp1, tmp2, tmp3;
CMPIString *str;
- char *ns, *cn;
+ const char *ns, *cn;
int j,state;
instance.instance = i;
Please sign in to comment.
Something went wrong with that request. Please try again.