This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: master - libccs: fix fallout from uint to hbd conversion


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=d386aabfc8c6a0e0d0684f307822bd663cdad2ad
Commit:        d386aabfc8c6a0e0d0684f307822bd663cdad2ad
Parent:        5de052bc5968f6733aa95f1c538d18374e4a0c98
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Mon Mar 2 11:01:00 2009 +0100
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Mon Mar 2 11:05:11 2009 +0100

libccs: fix fallout from uint to hbd conversion

convert iterator_tracker back to unsigned int as it shoule be.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 config/libs/libccsconfdb/libccs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/libs/libccsconfdb/libccs.c b/config/libs/libccsconfdb/libccs.c
index 760368c..58e0531 100644
--- a/config/libs/libccsconfdb/libccs.c
+++ b/config/libs/libccsconfdb/libccs.c
@@ -355,7 +355,7 @@ int set_previous_query(confdb_handle_t handle, hdb_handle_t connection_handle,
 {
 	char temp[PATH_MAX];
 	int templen;
-	hdb_handle_t temphandle;
+	unsigned int temphandle;
 
 	if (confdb_key_get
 	    (handle, connection_handle, "previous_query",
@@ -410,7 +410,7 @@ int set_previous_query(confdb_handle_t handle, hdb_handle_t connection_handle,
 		if (confdb_key_create
 		    (handle, connection_handle, "iterator_tracker",
 		     strlen("iterator_tracker"), &temphandle,
-		     sizeof(hdb_handle_t)) != CS_OK) {
+		     sizeof(unsigned int)) != CS_OK) {
 			errno = ENOMEM;
 			return -1;
 		}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]