projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WLDAP32] Sync with Wine Staging 4.18. CORE-16441
[reactos.git]
/
dll
/
win32
/
wldap32
/
error.c
diff --git
a/dll/win32/wldap32/error.c
b/dll/win32/wldap32/error.c
index
2e09e9e
..
fbbd124
100644
(file)
--- a/
dll/win32/wldap32/error.c
+++ b/
dll/win32/wldap32/error.c
@@
-303,7
+303,7
@@
ULONG CDECL LdapMapErrorToWin32( ULONG err )
{
TRACE( "(0x%08x)\n", err );
- if (err >=
sizeof(WLDAP32_errormap)/sizeof(WLDAP32_errormap[0]
))
+ if (err >=
ARRAY_SIZE( WLDAP32_errormap
))
return ERROR_DS_GENERIC_ERROR;
return WLDAP32_errormap[err];
}