title: Implicit conversion of Objective-C pointer type. Bridged cast issue
body: <p>I'm getting the following error:</p>
  
  <pre><code>"Implicit conversion of Objective-C pointer type. Type "void*" requires a bridged cast.
  </code></pre>
  
  <p>I've fixed similar bits of code with bridges - but those types of fixes are not helping here. Here's the bits of code :</p>
  
  <pre><code>AURenderCallbackStruct input;
  input.inputProc = RenderTone;
  input.inputProcRefCon = self;
  err = AudioUnitSetProperty(
      toneUnit, 
      kAudioUnitProperty_SetRenderCallback, 
      kAudioUnitScope_Input,
      0, 
      &amp;input, 
      sizeof(input));
  NSAssert1(err == noErr, @"Error setting callback: %ld", err);
  </code></pre>
  
  <p><strong>Second code bit with error</strong></p>
  
  <pre><code>SStatus result = AudioSessionInitialize(NULL, NULL, ToneInterruptionListener, self);
  if (result == kAudioSessionNoError) {
      UInt32 sessionCategory = kAudioSessionCategory_MediaPlayback;
      AudioSessionSetProperty(
          kAudioSessionProperty_AudioCategory,
          sizeof(sessionCategory),
          &amp;sessionCategory);
  }
  </code></pre>
  
  <p>Thanks, in advance for all help.</p>
  
  <p><strong>Update</strong></p>
  
  <p>Problem solved. The bridge casting was being implemented incorrectly. It should have been :</p>
  
  <pre><code> input. inputProcRefCon =  (__bridge void*)self 
  </code></pre>