[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 239 - trunk/subversion/libsvn_fs

From: Yoshiki Hayashi <yoshiki_at_xemacs.org>
Date: 2001-10-16 08:25:32 CEST

kfogel@collab.net writes:

> Greg Hudson <ghudson@MIT.EDU> writes:
> > > Hmmm. I tried "%lu" first and got compiler warnings. Suggestions?
> >
> > That's why you need the cast.
> Wow, I am really not reading carefully today.

I'm no expert in APR but I think the correct thing to do is
to use APR_OFF_T_FMT defined in apr.h. APR should pick
appropriate format string to convert apr_off_t. You can use
constant string concatenation feature like below, which
gives you enough flexibility.

apr_psprintf (p, "Length is " APR_OFF_T_FMT "\n", text_len)

Yoshiki Hayashi
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:44 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.