[Linux-HA] heartbeat fedora 3
Alan Robertson
alanr at unix.sh
Mon Mar 14 11:11:12 MST 2005
Patricio Bruna V wrote:
> El lun, 14-03-2005 a las 14:14 +0100, Lars Marowsky-Bree escribió:
>
>>On 2005-03-14T09:13:49, Patricio Bruna V <pbruna at linuxcenterla.com> wrote:
>>
>>
>>>has anyone successfuly compiled heartbeat on FC3?
>>>btw im ussing gcc 4
>>
>>Do you get any errors?
>>
>>
>>Sincerely,
>> Lars Marowsky-Brée <lmb at suse.de>
>>
> yes, the followings:
>
> cc1: warnings being treated as errors
> base64.c: In function 'base64_to_binary':
> base64.c:195: warning: pointer targets in assignment differ in
> signedness
OK...
The attached patch should fix that. This is apparently new with the new
compiler.
Thanks for the feedback!
--
Alan Robertson <alanr at unix.sh>
"Openness is the foundation and preservative of friendship... Let me claim
from you at all times your undisguised opinions." - William Wilberforce
-------------- next part --------------
Index: lib/clplumbing/base64.c
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/lib/clplumbing/base64.c,v
retrieving revision 1.11
diff -u -r1.11 base64.c
--- lib/clplumbing/base64.c 17 Feb 2004 22:11:58 -0000 1.11
+++ lib/clplumbing/base64.c 14 Mar 2005 18:10:35 -0000
@@ -192,7 +192,7 @@
/* We have enough space. We are happy :-) */
- startout = out = (char *)output;
+ startout = out = (unsigned char *)output;
while (input < lastinput) {
Char2SixBits(*input, sixbits1); ++input;
More information about the Linux-HA
mailing list