On Fri, Feb 25, 2011 at 12:00:18AM +0300, Dmitry V. Levin wrote: > On Wed, Feb 23, 2011 at 02:16:43PM -0600, Grant Edwards wrote: [...] > Now a few comments on the patch itself. [...] > + fprintf(stderr,"Max trace paths exceeded, only using first > %d\n",NumElem(selected));
On x86-64, gcc complains: pathtrace.c: In function 'storepath': pathtrace.c:106:3: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' To fix this warning, you can safely cast NumElem(selected) to int. -- ldv
pgp6vyb27T9C5.pgp
Description: PGP signature
------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
