Added some static casts to the pcp::atom template to satisfy warnings on some compilers.