(fix) avoid warning

pull/259/head
Ludovic Marcotte 2019-08-15 15:54:48 -04:00
parent 3e2af3a16e
commit 8c77145b9f
1 changed files with 1 additions and 1 deletions

View File

@ -839,7 +839,7 @@ static Class NSNullK;
// We update the placeholder in the LDAP source if needed
if ([currentSource conformsToProtocol: @protocol(SOGoDNSource)])
[currentSource updateBaseDNFromLogin: theUID];
[(id<SOGoDNSource>) currentSource updateBaseDNFromLogin: theUID];
// Use the provided domain during the lookup. If none is defined, use the source's one
// so if there's a match based on the source's domain, the user ID will be associated