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

Re: BeOS PPC Compilation Fixes

From: Sam TH <sam_at_uchicago.edu>
Date: 2000-12-03 15:09:00 CET

On Sun, Dec 03, 2000 at 01:57:44AM -0800, Greg Stein wrote:
>
> The cast stuff is in, and I'm looking at the other bits now.

I think I neglected to include this patch, which is neccessary (unless
you feel like changing the functions).

Index: subversion/libsvn_subr/base64.c
===================================================================
RCS file: /cvs/subversion/subversion/libsvn_subr/base64.c,v
retrieving revision 1.9
diff -u -r1.9 base64.c
--- subversion/libsvn_subr/base64.c 2000/12/03 09:48:02 1.9
+++ subversion/libsvn_subr/base64.c 2000/12/03 14:07:28
@@ -123,9 +123,9 @@
   apr_size_t enclen;
   svn_error_t *err = SVN_NO_ERROR;
 
- /* Encode this block of data, or finish up if there is no more. */
+ /* Encode this block of data, or finish up if there is no more. */
   if (*len > 0)
- encode_bytes (encoded, data, *len, eb->buf, &eb->buflen, &eb->linelen);
+ encode_bytes (encoded, data, *len, (unsigned char *)eb->buf, &eb->buflen, &eb->linelen);
   else
     encode_partial_group (encoded, eb->buf, eb->buflen, eb->linelen);
 
@@ -169,7 +169,7 @@
   char ingroup[3];
   int ingrouplen = 0, linelen = 0;
 
- encode_bytes (encoded, str->data, str->len, ingroup, &ingrouplen, &linelen);
+ encode_bytes (encoded, str->data, str->len, (unsigned char *)ingroup, &ingrouplen, &linelen);
   encode_partial_group (encoded, ingroup, ingrouplen, linelen);
   return encoded;
 }

           
        sam th
        sam@uchicago.edu
        http://www.abisource.com/~sam/
        GnuPG Key:
        http://www.abisource.com/~sam/key

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:16 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.