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 yet another uint -> hdb_handle_t conversion Date: Tue, 07 Jul 2009 07:15:00 -0000 [thread overview] Message-ID: <20090707071442.78132120368@lists.fedorahosted.org> (raw) Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=158affb03150143e5561c9b8a5a3cc89865d3652 Commit: 158affb03150143e5561c9b8a5a3cc89865d3652 Parent: 457eaf5565e2804d3c6e367e7256c23752debcef Author: Fabio M. Di Nitto <fdinitto@redhat.com> AuthorDate: Tue Jul 7 09:13:53 2009 +0200 Committer: Fabio M. Di Nitto <fdinitto@redhat.com> CommitterDate: Tue Jul 7 09:13:53 2009 +0200 libccs: fix yet another uint -> hdb_handle_t conversion Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> --- config/libs/libccsconfdb/libccs.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/config/libs/libccsconfdb/libccs.c b/config/libs/libccsconfdb/libccs.c index 1d62b4b..6dc09a5 100644 --- a/config/libs/libccsconfdb/libccs.c +++ b/config/libs/libccsconfdb/libccs.c @@ -325,7 +325,8 @@ int set_previous_query(confdb_handle_t handle, hdb_handle_t connection_handle, { char temp[PATH_MAX]; size_t templen = 0; - unsigned int temphandle; + hdb_handle_t temphandle; + unsigned int temptracker; if (confdb_key_get (handle, connection_handle, "previous_query", @@ -375,11 +376,11 @@ int set_previous_query(confdb_handle_t handle, hdb_handle_t connection_handle, if (confdb_key_get (handle, connection_handle, "iterator_tracker", - strlen("iterator_tracker"), &temphandle, &templen) != CS_OK) { - temphandle = 1; + strlen("iterator_tracker"), &temptracker, &templen) != CS_OK) { + temptracker = 1; if (confdb_key_create (handle, connection_handle, "iterator_tracker", - strlen("iterator_tracker"), &temphandle, + strlen("iterator_tracker"), &temptracker, sizeof(unsigned int)) != CS_OK) { errno = ENOMEM; return -1;
reply other threads:[~2009-07-07 7:15 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=20090707071442.78132120368@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: linkBe 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).