mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
winebuild: Cast-qual warning fix.
This commit is contained in:
parent
eda8b9550b
commit
80294709c5
@ -147,10 +147,11 @@ inline static ORDDEF *find_export( const char *name, ORDDEF **table, int size )
|
||||
{
|
||||
ORDDEF func, *odp, **res = NULL;
|
||||
|
||||
func.name = (char *)name;
|
||||
func.name = xstrdup(name);
|
||||
func.ordinal = -1;
|
||||
odp = &func;
|
||||
if (table) res = bsearch( &odp, table, size, sizeof(*table), func_cmp );
|
||||
free( func.name );
|
||||
return res ? *res : NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user