1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

Fixed a compiler warning.

(This used to be commit bc0f1c1ec21e69014426e41fb0a5264da63b857a)
This commit is contained in:
Tim Potter 2002-07-19 22:01:23 +00:00
parent 3c9e5a9416
commit 12e237da68

View File

@ -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];
}
/***********************************************************************