Commit ace833f3 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

drms: Fix a pointer to int comparison.

parent b61820ee
......@@ -2004,7 +2004,7 @@ static int GetiPodID( int64_t *p_ipod_id )
if( IOServiceGetMatchingServices( port, match_dic,
&iterator ) == KERN_SUCCESS )
{
while( ( device = IOIteratorNext( iterator ) ) != NULL )
while( ( device = IOIteratorNext( iterator ) ) != 0 )
{
value = IORegistryEntryCreateCFProperty( device,
CFSTR("GUID"), kCFAllocatorDefault, kNilOptions );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment