title: Why is setValue in registerDefaults give me a warning with BOOL YES?
body: <p>I have the following lines in my code:</p>
  
  <pre><code>[registerDefaults setValue:NO forKey:UserDefaultsGameSortAscendingKey];
  [registerDefaults setValue:YES forKey:UserDefaultsReminderSortAscendingKey];
  </code></pre>
  
  <p>Why is it that I am getting a warning on the second line and not the first?</p>
  
  <blockquote>
    <p>Incompatible integer to pointer conversion</p>
  </blockquote>
  
  <p>Both <code>UserDefaultsGameSortAscendingKey</code> and <code>UserDefaultsReminderSortAscendingKey</code> are defined as constants:</p>
  
  <pre><code>extern NSString *const UserDefaultsGameSortAscendingKey;
  extern NSString *const UserDefaultsReminderSortAscendingKey;
  </code></pre>