title: NSPredicate with 64-bit integers?
body: <p>I'm trying to use NSPredicate with 64-bit numbers, but for some reason it's failing.  I create a predicate with the following string:</p>
  
  <pre><code>[NSString stringWithFormat:@"UID == %qu", theUID]
  </code></pre>
  
  <p>And it always fails.  Yet if I loop through my objects and compare <code>if ( UID == theUID )</code> I find one that is fine.  I'm really confused as to why this isn't working correctly.</p>
  
  <p>Does the above look correct? My predicates work fine for other integers or even strings.  But this seems to be failing.</p>
  
  <p>Thanks!</p>
  
  <p><strong>Edit:</strong> So strange... so I create my predicate by doing:</p>
  
  <pre><code>NSPredicate *myPredicate = [NSPredicate predicateWithFormat:myString];
  </code></pre>
  
  <p>Now when I print myString, and then print myPredicate (by doing <code>NSLog(@"%@", blah);</code>) I get:</p>
  
  <blockquote>
    <p>String: UID == 17667815990388404861 Predicate: UID ==
    9223372036854775807</p>
  </blockquote>
  
  <p>It's the same string, why are these different?</p>