Fixed *most* of the warnings emitted by glue.c
Fixed *most* of the warnings emitted by glue.c

jmolloy/pedigree,jmolloy/pedigree,jmolloy/pedigree,jmolloy/pedigree,jmolloy/pedigree,jmolloy/pedigree,jmolloy/pedigree