6 Jun
2005
6 Jun
'05
1:04 p.m.
On 6/6/05, Dmitry Timoshkov <dmitry(a)baikal.ru> wrote:
"Jesse Allen" <the3dfxdude(a)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';"