fixed the pointer problem now everything is working again I just need to suppress something under GCC because something is complaining about me storing a full sized int.