diff options
author | Tim Potter <tpot@samba.org> | 2002-07-19 22:01:23 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-07-19 22:01:23 +0000 |
commit | 12e237da6813ca6a40410c73c75152a840f4ea61 (patch) | |
tree | a1c8fd5efb4c2cdea6e1109ca632d205eb996f46 | |
parent | 3c9e5a94165afc30ba719aad513e09ead83276fb (diff) | |
download | samba-12e237da6813ca6a40410c73c75152a840f4ea61.tar.gz samba-12e237da6813ca6a40410c73c75152a840f4ea61.tar.bz2 samba-12e237da6813ca6a40410c73c75152a840f4ea61.zip |
Fixed a compiler warning.
(This used to be commit bc0f1c1ec21e69014426e41fb0a5264da63b857a)
-rw-r--r-- | source3/registry/reg_frontend.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/registry/reg_frontend.c b/source3/registry/reg_frontend.c index 7b7cade6c0..3e3ec49425 100644 --- a/source3/registry/reg_frontend.c +++ b/source3/registry/reg_frontend.c @@ -234,12 +234,12 @@ int regsubkey_ctr_numkeys( REGSUBKEY_CTR *ctr ) Retreive a specific key string **********************************************************************/ -char* regsubkey_ctr_specific_key( REGSUBKEY_CTR *ctr, uint32 index ) +char* regsubkey_ctr_specific_key( REGSUBKEY_CTR *ctr, uint32 key_index ) { - if ( ! (index < ctr->num_subkeys) ) + if ( ! (key_index < ctr->num_subkeys) ) return NULL; - return ctr->subkeys[index]; + return ctr->subkeys[key_index]; } /*********************************************************************** |