Forum: Cfengine Help Subject: Re: cfknow.c 3.1.3 compile error Author: stoney27 Link to topic: https://cfengine.com/forum/read.php?3,20224,20232#msg-20232
Ok after looking at the code a bit, my C is rusty... I changed the Join line #2558 to type cast rp->item, and it finished the compile. Old line: Join(orstring,rp->item+1,CF_MAXVARSIZE); New line: Join(orstring,(char *)rp->item+1,CF_MAXVARSIZE); -Scott ---------------------- Scott Stonefield R&D Unix Administrator s...@sas.com _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine