diff options
author | Jeremy Allison <jra@samba.org> | 2011-05-05 14:22:11 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-05-05 23:56:07 +0200 |
commit | 02af3075858814811bc30f03623eb6715f9b7a78 (patch) | |
tree | 10e10b4df41d6a8059ca136e76901f2a8af5bce4 /source3/locking | |
parent | e131c94ac1b06cc49b1c25717d3496dba8b0b3df (diff) | |
download | samba-02af3075858814811bc30f03623eb6715f9b7a78.tar.gz |
More simple const fixes.
Diffstat (limited to 'source3/locking')
-rw-r--r-- | source3/locking/brlock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c index c325338062..fd3bf2319e 100644 --- a/source3/locking/brlock.c +++ b/source3/locking/brlock.c @@ -1993,8 +1993,8 @@ static void brl_revalidate_collect(struct file_id id, struct server_id pid, static int compare_procids(const void *p1, const void *p2) { - const struct server_id *i1 = (struct server_id *)p1; - const struct server_id *i2 = (struct server_id *)p2; + const struct server_id *i1 = (const struct server_id *)p1; + const struct server_id *i2 = (const struct server_id *)p2; if (i1->pid < i2->pid) return -1; if (i2->pid > i2->pid) return 1; |