Module: wine Branch: master Commit: c4f4c2ff84f4578e38172a1b06aa488527c659b0 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=c4f4c2ff84f4578e38172a1b...
Author: Andrew Talbot Andrew.Talbot@talbotville.com Date: Tue Sep 19 17:59:56 2006 +0100
netapi32: Cast-qual warnings fix.
---
dlls/netapi32/nbnamecache.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/netapi32/nbnamecache.c b/dlls/netapi32/nbnamecache.c index 176105a..82c10a9 100644 --- a/dlls/netapi32/nbnamecache.c +++ b/dlls/netapi32/nbnamecache.c @@ -163,7 +163,7 @@ const NBNameCacheEntry *NBNameCacheFindE NBNameCacheNode **node;
EnterCriticalSection(&cache->cs); - node = NBNameCacheWalk(cache, (char*)name); + node = NBNameCacheWalk(cache, (const char *)name); if (node) ret = (*node)->entry; else @@ -185,7 +185,7 @@ BOOL NBNameCacheUpdateNBName(struct NBNa NBNameCacheNode **node;
EnterCriticalSection(&cache->cs); - node = NBNameCacheWalk(cache, (char*)name); + node = NBNameCacheWalk(cache, (const char *)name); if (node && *node && (*node)->entry) { memcpy((*node)->entry->nbname, nbname, NCBNAMSZ);