Andrew Talbot : server: Cast-qual warnings fix.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Dec 18 05:34:28 CST 2006
Module: wine
Branch: master
Commit: 76c556ad68e8ba2902f403afbc41f1449ae2dc08
URL: http://source.winehq.org/git/wine.git/?a=commit;h=76c556ad68e8ba2902f403afbc41f1449ae2dc08
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Sat Dec 16 17:41:30 2006 +0000
server: Cast-qual warnings fix.
---
server/object.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/server/object.c b/server/object.c
index 6efe239..63465f2 100644
--- a/server/object.c
+++ b/server/object.c
@@ -290,14 +290,15 @@ void release_object( void *ptr )
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-cvs
mailing list