]> git.proxmox.com Git - mirror_corosync.git/commitdiff
avoid 22 warnings
authorJim Meyering <jim@meyering.net>
Tue, 24 Mar 2009 10:38:13 +0000 (10:38 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 24 Mar 2009 10:38:13 +0000 (10:38 +0000)
* exec/totemconfig.c (objdb_get_int): Make "key" const.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1901 fd59a12c-fef9-0310-b244-a6a79926bd2f

exec/totemconfig.c

index 756f9625e9126ac157ba9fff2d495d29f2625931..bc1779ab20d6a7d0318071c7cce421c34d0f913c 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2002-2005 MontaVista Software, Inc.
- * Copyright (c) 2006-2008 Red Hat, Inc.
+ * Copyright (c) 2006-2009 Red Hat, Inc.
  *
  * All rights reserved.
  *
@@ -112,7 +112,7 @@ static inline int objdb_get_string (
 static inline void objdb_get_int (
        struct objdb_iface_ver0 *objdb,
        hdb_handle_t object_service_handle,
-       char *key, unsigned int *intvalue)
+       const char *key, unsigned int *intvalue)
 {
        char *value = NULL;