server: Cast-qual warnings fix (1 of 2)
Andrew Talbot
Andrew.Talbot at talbotville.com
Sat Dec 16 11:41:30 CST 2006
Changelog:
server: Cast-qual warnings fix.
diff -urN a/server/object.c b/server/object.c
--- a/server/object.c 2006-07-26 10:23:31.000000000 +0100
+++ b/server/object.c 2006-12-16 15:49:49.000000000 +0000
@@ -290,14 +290,15 @@
struct object *find_object( const struct namespace *namespace, const struct unicode_str *name,
unsigned int attributes )
{
- const struct list *list, *p;
+ const struct list *list;
+ struct list *p;
if (!name || !name->len) return NULL;
list = &namespace->names[ get_name_hash( namespace, name->str, name->len ) ];
LIST_FOR_EACH( p, list )
{
- const struct object_name *ptr = LIST_ENTRY( p, const struct object_name, entry );
+ const struct object_name *ptr = LIST_ENTRY( p, struct object_name, entry );
if (ptr->len != name->len) continue;
if (attributes & OBJ_CASE_INSENSITIVE)
{
More information about the wine-patches
mailing list