Fix casts
This commit is contained in:
parent
f30bb4ccc5
commit
2b62e0647d
@ -167,7 +167,7 @@ static void ContinueResolveProcess(void)
|
|||||||
{
|
{
|
||||||
if (CFArrayGetCount(gServiceArrayRef) > gNextNameIndexToResolve)
|
if (CFArrayGetCount(gServiceArrayRef) > gNextNameIndexToResolve)
|
||||||
{
|
{
|
||||||
(const void*)serviceNameRef = CFArrayGetValueAtIndex(gServiceArrayRef, gNextNameIndexToResolve++);
|
serviceNameRef = (CFStringRef)CFArrayGetValueAtIndex(gServiceArrayRef, gNextNameIndexToResolve++);
|
||||||
MyResolveService(serviceNameRef, kServiceType, kMyDefaultDomain);
|
MyResolveService(serviceNameRef, kServiceType, kMyDefaultDomain);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -309,7 +309,7 @@ static void StartResolveProcess(void)
|
|||||||
gNextNameIndexToResolve = 0;
|
gNextNameIndexToResolve = 0;
|
||||||
if (CFArrayGetCount(gServiceArrayRef) > gNextNameIndexToResolve)
|
if (CFArrayGetCount(gServiceArrayRef) > gNextNameIndexToResolve)
|
||||||
{
|
{
|
||||||
(const void*)serviceNameRef = CFArrayGetValueAtIndex(gServiceArrayRef, gNextNameIndexToResolve++);
|
serviceNameRef = (CFStringRef)CFArrayGetValueAtIndex(gServiceArrayRef, gNextNameIndexToResolve++);
|
||||||
MyResolveService(serviceNameRef, kServiceType, kMyDefaultDomain);
|
MyResolveService(serviceNameRef, kServiceType, kMyDefaultDomain);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user