diff --git a/fivestar.module b/fivestar.module
index 229dbf7..fa1f07a 100644
--- a/fivestar.module
+++ b/fivestar.module
@@ -130,7 +130,7 @@
  * voting, etc...
  */
 
-function _fivestar_cast_vote($entity_type, $id, $value, $tag = NULL, $uid = NULL, $result = FALSE, $skip_validation = FALSE) {
+function _fivestar_cast_vote($entity_type, $id, $value, $tag = NULL, $uid = NULL, $skip_validation = FALSE) {
   global $user;
   $tag = empty($tag) ? 'vote' : $tag;
   $uid = isset($uid) ? $uid : $user->uid;
diff --git a/includes/fivestar.field.inc b/includes/fivestar.field.inc
index 4acecba..62295e5 100644
--- a/includes/fivestar.field.inc
+++ b/includes/fivestar.field.inc
@@ -117,7 +117,7 @@
     }
     $target = _fivestar_field_target($entity, $field, $instance, $item, $langcode);
     if (!empty($target)) {
-      _fivestar_cast_vote($target['entity_type'], $target['entity_id'], $rating, $field['settings']['axis'], $entity->uid, FALSE, TRUE);
+      _fivestar_cast_vote($target['entity_type'], $target['entity_id'], $rating, $field['settings']['axis'], $entity->uid, TRUE);
       votingapi_recalculate_results($target['entity_type'], $target['entity_id']);
     }
   }
