| Re: CVS update: subversion/subversion/libsvn_wc propdump.c
From: Greg Stein <gstein_at_lyra.org>
 Date: 2000-07-19 02:33:38 CEST 
On Tue, Jul 18, 2000 at 09:23:19PM -0000, kfogel@tigris.org wrote:
 Not much you can do other than wing it. sizeof(int) could be larger or
 autoconf magic would be needed to find the right type for num_to_string()
 If you really want to be safe, then add this code to size_t_into_string:
   if (num != (long)num) PUNT;
 If sizeof(size_t) > sizeof(long), then you could get a truncation. The
 If sizeof(size_t) < sizeof(long), then the LHS would be converted up and the
 Even better, add AC_CHECK_SIZE(long) and AC_CHECK_SIZE(size_t) into
 Cheers,
 -- Greg Stein, http://www.lyra.org/Received on Sat Oct 21 14:36:05 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.