[haiku-commits] Re: r36052 - haiku/trunk/src/kits/app

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 06 Apr 2010 21:34:25 +0200

stefano.ceccherini@xxxxxxxxx wrote:
> Log:
> Use %c to print uint8. This avoids a crash. I'm not sure this is a 
> gcc bug,
> or we were using the previous form incorrectly. Anyway, this doesn't 
> change
> the functionality and fixes ticket #5676.

Unless you added a & before the last parameter %.1s cannot work the way 
it was intended. So this is the only correct fix of previously broken 
code :-)

Bye,
   Axel.


Other related posts: