diff --git a/html/sites/default/modules/contrib/feeds_comment_processor/FeedsCommentProcessor.inc b/html/sites/default/modules/contrib/feeds_comment_processor/FeedsCommentProcessor.inc
index fd38540..95aa70b 100644
--- a/FeedsCommentProcessor.inc
+++ b/FeedsCommentProcessor.inc
@@ -231,7 +231,7 @@ class FeedsCommentProcessor extends FeedsProcessor {
   /**
    * Override setTargetElement to operate on a target item that is a comment.
    */
-  public function setTargetElement($target_comment, $target_element, $value) {
+  public function setTargetElement(&$target_comment, $target_element, $value) {
     if (in_array($target_element, array('guid'))) {
       $target_comment->feeds_comment_item->$target_element = $value;
     }
@@ -306,11 +306,11 @@ class FeedsCommentProcessor extends FeedsProcessor {
   /**
    * Get cid of an existing feed item comment if available.
    */
-  protected function existingItemId($source_item, FeedsSource $source) {
+  protected function existingItemId(FeedsImportBatch $batch, FeedsSource $source) {
 
     // Iterate through all unique targets and test whether they do already
     // exist in the database.
-    foreach ($this->uniqueTargets($source_item) as $target => $value) {
+    foreach ($this->uniqueTargets($batch) as $target => $value) {
       switch ($target) {
         case 'guid':
           $cid = db_result(db_query("SELECT cid FROM {feeds_comment_item} WHERE feed_nid = %d AND id = '%s' AND guid = '%s'", $source->feed_nid, $source->id, $value));
