This should be char*, not unsigned char*