On 6/6/05, Dmitry Timoshkov dmitry@baikal.ru wrote:
"Jesse Allen" the3dfxdude@gmail.com wrote:
- if( flags->IntegerLength == 'I' )
- {
sprintf(p, "l");
p++;
- }
- if( flags->IntegerSize == INTEGERSIZE_LONGLONG )
- {
sprintf(p, "l");
p++;
- }
sprintf is very inefficient here, why not use simple strcpy instead?
Oops... I changed it to "*p = 'l';"