summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-05-01 02:08:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:51:53 -0500
commita475bfdcca0bc84a3a823a3061bbd53d9bad2842 (patch)
tree21f8d512cd196f36734149206fe504fa602bad55 /source4/libcli
parent2c78837e34fdeaf3e31b6cf16a8f392b8a153ed9 (diff)
downloadsamba-a475bfdcca0bc84a3a823a3061bbd53d9bad2842.tar.gz
samba-a475bfdcca0bc84a3a823a3061bbd53d9bad2842.tar.bz2
samba-a475bfdcca0bc84a3a823a3061bbd53d9bad2842.zip
r22620: fix compiler warnings
metze (This used to be commit b7adc88e743308742545f3ee6710f8c0bfa197d8)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/clilist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/libcli/clilist.c b/source4/libcli/clilist.c
index 9b4a1a158f..341b934aae 100644
--- a/source4/libcli/clilist.c
+++ b/source4/libcli/clilist.c
@@ -39,7 +39,7 @@ struct search_private {
Interpret a long filename structure.
****************************************************************************/
static BOOL interpret_long_filename(enum smb_search_data_level level,
- union smb_search_data *info,
+ const union smb_search_data *info,
struct clilist_file_info *finfo)
{
struct clilist_file_info finfo2;
@@ -73,7 +73,7 @@ static BOOL interpret_long_filename(enum smb_search_data_level level,
}
/* callback function used for trans2 search */
-static BOOL smbcli_list_new_callback(void *private, union smb_search_data *file)
+static BOOL smbcli_list_new_callback(void *private, const union smb_search_data *file)
{
struct search_private *state = (struct search_private*) private;
struct clilist_file_info *tdl;
@@ -204,7 +204,7 @@ int smbcli_list_new(struct smbcli_tree *tree, const char *Mask, uint16_t attribu
The length of the structure is returned.
****************************************************************************/
static BOOL interpret_short_filename(enum smb_search_data_level level,
- union smb_search_data *info,
+ const union smb_search_data *info,
struct clilist_file_info *finfo)
{
struct clilist_file_info finfo2;
@@ -230,7 +230,7 @@ static BOOL interpret_short_filename(enum smb_search_data_level level,
}
/* callback function used for smb_search */
-static BOOL smbcli_list_old_callback(void *private, union smb_search_data *file)
+static BOOL smbcli_list_old_callback(void *private, const union smb_search_data *file)
{
struct search_private *state = (struct search_private*) private;
struct clilist_file_info *tdl;