public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: "Fabio M. Di Nitto" <fabbione@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: cluster: STABLE3 - libccs: fix fallout from uint to hbd conversion
Date: Mon, 02 Mar 2009 10:02:00 -0000	[thread overview]
Message-ID: <20090302100214.ADDF3120343@lists.fedorahosted.org> (raw)

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=750e7bf3a01ae8805350be610862279c02ae3a44
Commit:        750e7bf3a01ae8805350be610862279c02ae3a44
Parent:        9b40c65bff56338a151a1f24867002796cbe9df2
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:01:00 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;
 		}


                 reply	other threads:[~2009-03-02 10:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090302100214.ADDF3120343@lists.fedorahosted.org \
    --to=fabbione@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).