title: Why does NSLog display incorrect int and char?
body: <p>I think I'm doing everything correctly, but NSLog output doesn't match the correct values shown by hovering over the variables.   Synthesis and dot notation are working correctly.<br>
  Hovering over all variables reveals correct values, as shown in // comments. But NSlog displays incorrectly in the Debugger console; output is also shown in the  // comments.  </p>
  
  <p>In test, an instance of Screen Class:</p>
  
  <pre><code>{   int i;
      char j;
  }
  </code></pre>
  
  <p>In AppDelegate:</p>
  
  <pre><code>test.i = 10;    // hover shows 10        OK
  test.j = 'z';   // hover shows 122 'z'   OK
  NSLog(@"i= %i, j= %c"),test.i, test.j;// hover shows 10,122 'z'OK  
  but Debugger Console shows  i= 2097168, j= $  
  
  
  int k = 10; // hover shows 10        OK
  char l = 'z';   // hover shows 122 'z'   OK
  NSLog(@"k= %i, l= %c"),k, l;          // hover shows 10,122 'z'OK  
  but Debugger Console shows  k= 6055, l= ,
  </code></pre>
  
  <p>What am I missing? Or is this a genuine bug in Xcode 3.2.4, OSX 10.6?</p>