public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: master - libccs: fix fallout from uint to hbd conversion
@ 2009-03-02 10:05 Fabio M. Di Nitto
0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-03-02 10:05 UTC (permalink / raw)
To: cluster-cvs-relay
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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-02 10:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-02 10:05 cluster: master - libccs: fix fallout from uint to hbd conversion Fabio M. Di Nitto
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).