title: Objective-C dictionary inserting a BOOL
body: <p>OK, I'm a little confused. 
  It's probably just a triviality.</p>
  
  <p>I've got a function which looks something like this:</p>
  
  <pre><code>- (void)getNumbersForNews:(BOOL)news andMails:(BOOL)mails {
  NSMutableDictionary *parameters = [[NSMutableDictionary alloc] init];
  [parameters setValue:news  forKey:@"getNews"];
  [parameters setValue:mails forKey:@"getMails"];...}
  </code></pre>
  
  <p>It doesn't matter whether I use <code>setValue:forKey:</code> or <code>setObject:ForKey:</code>, I'm always getting a warning:</p>
  
  <blockquote>
    <p>"Passing argument 1 of set... makes pointer from integer without a cast"...</p>
  </blockquote>
  
  <p>How on earth do I insert a bool into a dictionary?</p>