The problem is not with strcmp, but with your typedef usage.

Code:
artistNodePtr findOrInsertArtist( artistNodePtr *sPtr, char *artistID )