netapi32: Cast-qual warnings fix.

This commit is contained in:
Andrew Talbot 2006-09-19 17:59:56 +01:00 committed by Alexandre Julliard
parent c5df5717e9
commit c4f4c2ff84
1 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ const NBNameCacheEntry *NBNameCacheFindEntry(struct NBNameCache *cache,
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 NBNameCache *cache,
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);