Got rid of some compiler warnings associated with join.c