Use SAL_PRIdINT32/SAL_PRIxUINT32 instead of %d/%x

This commit is contained in:
Takeshi Abe 2011-03-18 12:50:55 +09:00
parent 866364d7cb
commit 005b11645a

View file

@ -138,7 +138,7 @@ void lcl_dump_pset(Reference< XPropertySet > rXPropSet)
if( value >>= strValue ) if( value >>= strValue )
fprintf (stderr,"\"%s\"\n", USS( strValue ) ); fprintf (stderr,"\"%s\"\n", USS( strValue ) );
else if( value >>= intValue ) else if( value >>= intValue )
fprintf (stderr,"%d (hex: %x)\n", intValue, intValue); fprintf (stderr,"%" SAL_PRIdINT32 " (hex: %" SAL_PRIxUINT32 ")\n", intValue, intValue);
else if( value >>= boolValue ) else if( value >>= boolValue )
fprintf (stderr,"%d (bool)\n", boolValue); fprintf (stderr,"%d (bool)\n", boolValue);
else if( value >>= spacing ) { else if( value >>= spacing ) {