summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-03 23:06:53 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-03 23:56:15 +0100
commit88a2ad28fe52cbe13d00b0115bf821e33f5791da (patch)
treefa83121de87c3dd9f29587a6fe417133209d402c
parent70eaa3fd0cc1622724852039d63121a2c5ee22d1 (diff)
downloadsamba-88a2ad28fe52cbe13d00b0115bf821e33f5791da.tar.gz
samba-88a2ad28fe52cbe13d00b0115bf821e33f5791da.tar.bz2
samba-88a2ad28fe52cbe13d00b0115bf821e33f5791da.zip
s4/kdc - fix a warning regarding a changed parameter type (kvno)
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Dec 3 23:56:15 CET 2010 on sn-devel-104
-rw-r--r--source4/kdc/db-glue.c2
-rw-r--r--source4/kdc/db-glue.h2
-rw-r--r--source4/kdc/hdb-samba4.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source4/kdc/db-glue.c b/source4/kdc/db-glue.c
index 215b2300ed..4bb8e35091 100644
--- a/source4/kdc/db-glue.c
+++ b/source4/kdc/db-glue.c
@@ -1316,7 +1316,7 @@ krb5_error_code samba_kdc_fetch(krb5_context context,
struct samba_kdc_db_context *kdc_db_ctx,
krb5_const_principal principal,
unsigned flags,
- unsigned kvno,
+ krb5_kvno kvno,
hdb_entry_ex *entry_ex)
{
krb5_error_code ret = HDB_ERR_NOENTRY;
diff --git a/source4/kdc/db-glue.h b/source4/kdc/db-glue.h
index 9738fbc769..4f1e06fa7a 100644
--- a/source4/kdc/db-glue.h
+++ b/source4/kdc/db-glue.h
@@ -25,7 +25,7 @@ krb5_error_code samba_kdc_fetch(krb5_context context,
struct samba_kdc_db_context *kdc_db_ctx,
krb5_const_principal principal,
unsigned flags,
- unsigned kvno,
+ krb5_kvno kvno,
hdb_entry_ex *entry_ex);
krb5_error_code samba_kdc_firstkey(krb5_context context,
diff --git a/source4/kdc/hdb-samba4.c b/source4/kdc/hdb-samba4.c
index 771b2edd5e..313f419a83 100644
--- a/source4/kdc/hdb-samba4.c
+++ b/source4/kdc/hdb-samba4.c
@@ -85,7 +85,7 @@ static krb5_error_code hdb_samba4_remove(krb5_context context, HDB *db, krb5_con
static krb5_error_code hdb_samba4_fetch_kvno(krb5_context context, HDB *db,
krb5_const_principal principal,
unsigned flags,
- unsigned kvno,
+ krb5_kvno kvno,
hdb_entry_ex *entry_ex)
{
struct samba_kdc_db_context *kdc_db_ctx;